I've found strange problem with ComboBoxItem using DataSource.
When I try to set up sorting by:
error occurs:
I've looked at the code and function setPickListSort() assumes that self object is a class of BaseWidget but it is not.
If think that a class cast should be from different one.
Best regards
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 regards
Comment