Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Horizontal scrollbar displayed for picklist

    Hi,

    Our problem: horizontal scrollbar is displayed for picklist of SelectItem and ComboBoxItem if sortField is specified.
    If sortField is not specified, it works the same way as for version smartgwt-3.1p.2013-01-24

    Issue reproduced with versions:
    smartgwt-3.1p.2013-04-20
    smartgwt-3.1p.2013-04-12

    No issue with version:
    smartgwt-3.1p.2013-01-24

    Tested and reproduced with browsers: FF 20.0.1, IE 9

    OS sytem: Win 7

    Modified class ComboBoxStyledSample from the showcase:
    Code:
    public Canvas getViewPanel() {
    
            final DynamicForm form = new DynamicForm();
            form.setWidth(500);
            SelectItem selectItem = new SelectItem("selectItem");
                                   selectItem.setOptionDataSource(ItemSupplyXmlDS.getInstance());
                                   // if you comment out this line, it will change the behaviour
                                   selectItem.setSortField("unitCost");
                                   selectItem.setValueField("itemName");
                                   selectItem.setDisplayField("itemName");
    
            ComboBoxItem comboBoxItem = new ComboBoxItem("comboBoxItem");
            comboBoxItem.setOptionDataSource(ItemSupplyXmlDS.getInstance());
                                   // if you comment out this line, it will change the behaviour
                                   comboBoxItem.setSortField("unitCost");
                                   comboBoxItem.setValueField("itemName");
                                   comboBoxItem.setDisplayField("itemName");
    
            form.setFields(comboBoxItem, selectItem);
            return form;
    Possible hint: Not sure if this is helpful for you or related, but when you fixed this issue http://forums.smartclient.com/showthread.php?p=101843#post101843, maybe you introduced this current one ?

    Quick answer is appreciated.

    Regards,
    Fero

    #2
    Hi Fero
    We see the problem and are looking into how to solve it

    Regards
    Isomorphic Software

    Comment


      #3
      We have made a change which we believe will address this issue
      Please try the next nightly build (dated April 24 or greater)

      Regards
      Isomorphic Software

      Comment


        #4
        Tested with smartgwt-3.1p.2013-04-24. This issue was solved.

        Please see another issue with SelectItem here: http://forums.smartclient.com/showthread.php?t=26336

        Thank you,
        Fero

        Comment

        Working...
        X