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:
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
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;
Quick answer is appreciated.
Regards,
Fero
Comment