Documentation

Trace: Sort Combobox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

visionx:sort_combobox [2021/06/07 06:55]
admin created
visionx:sort_combobox [2025/07/08 09:18] (current)
admin
Line 5: Line 5:
  
 <code java> <code java>
-((ILinkedCellEditor)UICellEditor.getCellEditor("​COLUMN_NAME"​)).getLinkReference().getReferencedDataBook().setSort(new SortDefinition("​SORT_COLUMN_NAME"​));​+((ILinkedCellEditor)UICellEditor.getCellEditor(dataRow, ​"​COLUMN_NAME"​)).getLinkReference().getReferencedDataBook().setSort(new SortDefinition("​SORT_COLUMN_NAME"​));​
 </​code>​ </​code>​
  
 The sort definition can be set on the Combobox editor directly. Simply get the editor from the column which shows the Combobox and set the sort definition with the column you want to sort. The sort definition can be set on the Combobox editor directly. Simply get the editor from the column which shows the Combobox and set the sort definition with the column you want to sort.
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information