开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜