Hi,
How to set sort by name for above drop-down combobox ?
There is something like pickListProperties mentioned in the Smartclient docs, but I have no idea how to use it in smartgwt.
Or item.setPickListCriteria is the way to go ?
MichalG
Code:
ComboBoxItem item = new ComboBoxItem("item"); item.setOptionDataSource(DS.getInstance()); item.setDisplayField("name"); item.setValueField("id");
There is something like pickListProperties mentioned in the Smartclient docs, but I have no idea how to use it in smartgwt.
Or item.setPickListCriteria is the way to go ?
MichalG
Comment