Announcement

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

    Sorting optiondatasource combo

    Hi,
    I am using Smartclient 8.1 Pro. I am using an optiondatasource in a listgrid. What I am trying to achieve is to sort the list of fields in the combo box of the optiondatasource. The field itself in the listgrid can be sorted. But the list in the combobox doest seem to sort

    thanks in advance,

    ~S

    #2
    I achieved similar by adding a sortFieldNum to the filterEditorProperties:

    Code:
    {
      name:"blah",
      title:"Blah",
      optionDataSource:"otherDS",
      filterEditorProperties:{
        sortFieldNum:0
      },
      valueField:"id",
      textMatchStyle:"exact"
    }

    Comment

    Working...
    X