开发者

How can I programmatically get and set column sorting parameters in AdvancedDataGrid?

开发者 https://www.devze.com 2023-01-05 03:27 出处:网络
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 AdvancedDataGridCol

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消