How can I programmatically get and set column sorting parameters in AdvancedDataGrid?
How can I programmatically get and set column sorting parameters in AdvancedDataGrid?
I'm especially interested in val开发者_JAVA技巧ue that indicates that user have sorted data in AdvancedDataGridColumn by clicking on its header and value that indicates sorting order. I haven't found appropriate properties in AdvancedDataGridColumn documentation. There is only sortDescending property, but that's not enough.
Pass the column object to the getFieldSortInfo(column) method; it will give you a SortInfo object that has status (actual or proposed) and descending (boolean) variables that contain the information you need.
加载中,请稍侯......
精彩评论