VTable icon indicating copy to clipboard operation
VTable copied to clipboard

Multiple field sorting

Open fuxingjun opened this issue 1 year ago • 4 comments

What problem does this feature solve?

How to display multiple field sorting, currently displaying the data in the database, the results might be sorted based on multiple fields, currently setting the sorting of one field seems to clear the sorting state of other fields

What does the proposed API look like?

instance.updateSortState(sortState: SortState[])

Need to display icons according to the specified sort state, and maintain the sort state of unspecified fields.

fuxingjun avatar Feb 05 '24 06:02 fuxingjun

是的 目前还不支持多层排序。设置数组的话默认就用了你设置的第一个排序规则

fangsmile avatar Feb 05 '24 08:02 fangsmile

是的 目前还不支持多层排序。设置数组的话默认就用了你设置的第一个排序规则

可否考虑在第二个参数为false的时候按数组更新图标状态

fuxingjun avatar Feb 05 '24 08:02 fuxingjun

ok 后续我们支持上这个图标状态

fangsmile avatar Feb 05 '24 11:02 fangsmile

#1265

fangsmile avatar Jun 27 '24 06:06 fangsmile