Announcement

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

    Missing API: SelectItem.setSort(SortSpecifier[] sortSpecifiers) ?

    Hi Isomorphic,

    I'm looking for setSort(SortSpecifier[] sortSpecifiers) in SelectItem http://www.smartclient.com/smartgwte...electItem.html
    as it is provided in ComboBoxItem http://www.smartclient.com/smartgwte...ifier[]%29.

    I only see setSortField(java.lang.Integer sortField) which doesn't let me sort by multiple criteria.

    Using ComboBox instead is no alternative as I use SelectItem.setMultiple(true).

    Right now I'll stick with a combined Oracle virtual column in a SelectItem and sort by this. Do you plan on adding the API?

    Thanks,
    Blama

    #2
    Actually, the function you want is already there and doc'd on the link you included:

    Code:
    public void setPickListSort(SortSpecifier[] sortSpecifiers)
    The reason it's named differently under ComboBoxItem is an error that will be corrected.

    Comment


      #3
      Hi Isomorphic,

      thank you for your answer!

      Best regards,
      Blama

      Comment

      Working...
      X