GridPanel - ComboBox Editor - Show Dropdown When Clicked?

Page 1 of 2 12 LastLast
  1. #1

    GridPanel - ComboBox Editor - Show Dropdown When Clicked?

    Currently, I have a GridPanel with a ComboBox editor - the users are "complaining" that they have to click the cell to activate the editor/combobox and then click the combobox to activate the drop down.

    Question is - is there a way - that when they click the cell the first time - to now only show the editor/combobox but also pop open the dropdown?
  2. #2

    RE: GridPanel - ComboBox Editor - Show Dropdown When Clicked?

    Hi Tbaseflug,

    Try adding the following <Focus> Listener to the ComboBox.

    Example

    <ext:ComboBox ID="ComboBox1" runat="server">
        <Listeners>
            <Focus Scope="this" Handler="el.onTriggerClick();" Buffer="50" />
        </Listeners>
    </ext:ComboBox>
    You just need the <Listeners> section, the rest will remain as you have it already configured.

    If it fails, try bumping up the Buffer value by +50 to a max of 200.


    Geoffrey McGill
    Founder
  3. #3

    RE: GridPanel - ComboBox Editor - Show Dropdown When Clicked?

    Actually, that worked great! Thanks!!!!!!
  4. #4

    RE: GridPanel - ComboBox Editor - Show Dropdown When Clicked?

    Out of interests sake, could you confirm if the following simplified <Focus> Listener works as well.

    Example

    <ext:ComboBox ID="ComboBox1" runat="server">
        <Listeners>
            <Focus Handler="el.expand();" />
        </Listeners>
    </ext:ComboBox>
    Geoffrey McGill
    Founder
  5. #5

    RE: GridPanel - ComboBox Editor - Show Dropdown When Clicked?



    Actually, I tried that this morning - but just put it in again and get:

    Webpage error details


    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
    Timestamp: Wed, 13 May 2009 15:51:43 UTC



    Message: 'this.list' is null or not an object
    Line: 129
    Char: 11783
    Code: 0



  6. #6

    RE: GridPanel - ComboBox Editor - Show Dropdown When Clicked?

    Ok. Thanks for the update.*

    I guess it's best to use the onTriggerClick solution.


    For the v1.0 final release, we'll try to figure out why the el.expand() Handler does not work and hopefully implement a fix.*


    Geoffrey McGill
    Founder
  7. #7

    RE: GridPanel - ComboBox Editor - Show Dropdown When Clicked?

    Thanks!
  8. #8

    RE: GridPanel - ComboBox Editor - Show Dropdown When Clicked?

    I am experiencing this as well. Is there a way to have a combobox appear in the GridPanel with having to click on the cell first?

    Thanks.
  9. #9

    RE: GridPanel - ComboBox Editor - Show Dropdown When Clicked?

    mrbiglzwerth,

    Did you ever find a solution that allowed you to show the combobox without first clicking the row/cell?
  10. #10

    RE: GridPanel - ComboBox Editor - Show Dropdown When Clicked?

    No unfortunately I did not.
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: Jan 29, 2012, 7:08 PM
  2. Replies: 6
    Last Post: Jan 28, 2012, 1:14 AM
  3. [CLOSED] ComboBox with a GridPanel as dropdown list
    By bogc in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Sep 14, 2011, 6:00 PM
  4. Replies: 2
    Last Post: May 05, 2011, 10:16 AM
  5. Show Field from ID in ComboBox Editor
    By Cliff in forum 1.x Help
    Replies: 0
    Last Post: Feb 17, 2010, 6:47 PM

Posting Permissions