Combobox + scrolling of dropdownlist

  1. #1

    Combobox + scrolling of dropdownlist

    Hello
    this "problem" is reproducible for example here

    https://examples2.ext.net/Examples/F...=1404116965395, I need just country combobox

    User select "United Kindom" ( or anything else from the bottom of the list). Next time he he try to open the dropdown list, the scrollbar is on the top
    this is bit annoying as if user misclick the item he need to scroll again (let's ignore now a fact that he can write a letter for filtering)

    That could be still fine, but see following modification

    - page is loaded and from console Ext.getCmp('ComboBox1').setValue('GB') - so simulating a fact that country is preloaded from database
    - user dropdown the country and the dropdownlist scrolls correctly to the bottom
    - user close the list and dropdown again - he is on the top of the list

    correct country stays selected, problem is only in popup-list scrollbar position
    Any comments?

    Thanks
    Regards
    Zdenek
  2. #2
    Hi @Zdenek,

    Thank you for the report. I will try to fix.
  3. #3
    Reviewing the ExtJS code I see that there is no such the functionality. Yes, it happens with a .setValue() call scenario, but it is a backstage of another functionality.

    To achieve your requirement I would recommend to try the following listener for a ComboBox:
    <Listeners>
        <Expand Handler="this.doAutoSelect();" />
    </Listeners>

Similar Threads

  1. Replies: 0
    Last Post: Oct 05, 2012, 2:53 PM
  2. Problem with ComboBox scrolling
    By venu.sn2009 in forum 1.x Help
    Replies: 1
    Last Post: Aug 05, 2011, 10:48 AM
  3. [CLOSED] Problem when using combobox with autorefreshdata and asp:dropdownlist
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Aug 04, 2011, 8:00 PM
  4. Problem about combobox on DropDownList
    By zhangsir199 in forum 1.x Help
    Replies: 0
    Last Post: Mar 11, 2011, 12:39 AM
  5. Replies: 2
    Last Post: Mar 04, 2010, 7:12 PM

Posting Permissions