Announcement

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

    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)});
    error occurs:
    Code:
    java.lang.ClassCastException: Cannot cast com.smartgwt.client.widgets.form.fields.ComboBoxItem to com.smartgwt.client.widgets.BaseWidget
    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

    #2
    Thanks. We'll correct the class reference.

    Comment

    Working...
    X