Announcement
Collapse
No announcement yet.
X
-
ComboBoxItem and sorting
I've found strange problem with ComboBoxItem using DataSource.
When I try to set up sorting by:
Code:comboBoxItem.setPickListSort(new SortSpecifier[] {new SortSpecifier("display", SortDirection.ASCENDING)});
Code:java.lang.ClassCastException: Cannot cast com.smartgwt.client.widgets.form.fields.ComboBoxItem to com.smartgwt.client.widgets.BaseWidget
If think that a class cast should be from different one.
Best regardsTags: None
Leave a comment: