1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    15
    Vote Rating
    0
    hulseware is on a distinguished road

      0  

    Default ComboBox missing scrollbars

    ComboBox missing scrollbars


    in 2.2.0, I have lost scrollbars on my ComboBox Fields. Even when I put this chunk of code into one of my screens (basically the code from the showcase), I don't get scrollbars on the list even though there are 100 entries in the list. It will let me use the arrow keys to move through the list and select, but the scrollbars are gone.

    Code:
            ListStore<ModelData> comboList = new ListStore<ModelData>();
            for (int i = 0; i < 100; i++) {
                BaseModelData bmd = new BaseModelData();
                bmd.set("value", String.valueOf(i));
                bmd.set("display", "ListStore " + String.valueOf(i));
                comboList.add(bmd);
            }
    
            combo = new ComboBox<ModelData>();
            combo.setEmptyText("Select one...");
            combo.setDisplayField("display");
            combo.setWidth(150);
            combo.setStore(comboList);
            combo.setTypeAhead(true);
            combo.setTriggerAction(TriggerAction.ALL);

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Are you sure that you updated also your resources from GXT2.2?

  3. #3
    Ext User
    Join Date
    Jul 2010
    Posts
    19
    Vote Rating
    0
    egotec is on a distinguished road

      0  

    Default


    Hello.

    I have exactly the same problem.

    13.10.png

    I just created an empty entry point with this code in onModuleLoad:
    Code:
    ComboBox<ModelData> box = new ComboBox<ModelData>();
            ListStore<ModelData> store = new ListStore<ModelData>();
            box.setStore(store);
            for (int i=0; i<100; i++) {
                ModelData mdl = new BaseModelData();
                mdl.set("value", "xxx"+i);
                mdl.set("text", "yyy"+i);
                store.add(mdl);
            }
            RootPanel.get().add(box);

  4. #4
    Sencha User
    Join Date
    Jul 2010
    Posts
    15
    Vote Rating
    0
    hulseware is on a distinguished road

      0  

    Default


    My problem turned out to be my upgrade from 2.1.3 to 2.2.0. When I upgraded, I forgot to copy the resources directory from the distribution into my public area, so my css files and various images were out of date. Once I did that, then rebuilt and redeployed the application, the ComboBoxes started working properly again.

  5. #5
    Ext User
    Join Date
    Jul 2010
    Posts
    19
    Vote Rating
    0
    egotec is on a distinguished road

      0  

    Default


    we didn't updated the resources for 2.2.0. Now it works. Thanks.

  6. #6
    Sencha Premium Member
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    3
    Vote Rating
    0
    egotec_roth is on a distinguished road

      0  

    Thumbs up Solved

    Solved


    Thank you very much.
    This solved the problem.

  7. #7
    Ext GWT Premium Member
    Join Date
    May 2010
    Posts
    9
    Vote Rating
    0
    noosy is on a distinguished road

      0  

    Default


    I had this problem too, thanks guys

Similar Threads

  1. [2.2.1][DUP] autoHeight and missing scrollbars
    By stouset in forum Ext 2.x: Bugs
    Replies: 8
    Last Post: 4 Sep 2009, 11:55 AM
  2. treepanel in viewport missing scrollbars
    By adam.jimenez in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 20 Jan 2009, 5:45 AM
  3. Missing ScrollBars GridPanel in tabFormPanel
    By appshare in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 25 Nov 2007, 10:02 AM
  4. Extra and missing Scrollbars, why?
    By franzisk in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 17 May 2007, 6:15 AM

Thread Participants: 4