VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Feature] 希望表格支持多列排序

Open ChenBin12138 opened this issue 1 year ago • 4 comments

What problem does this feature solve?

现状: 目前使用SORT_CLICK事件 return false进行自定义排序方法,想达成多列排序功能。 但updateSortState方法入参看似支持数组形式,但传入数组代码报错

示例代码: image

报错位置: image

What does the proposed API look like?

期望1: 支持多列排序功能开关,SORT_CLICK事件返回数组当前所有被排序的数据

期望2: updateSortState方法支持传入数据形式更新排序图标的变换

ChenBin12138 avatar Mar 13 '24 03:03 ChenBin12138

image

ChenBin12138 avatar Mar 13 '24 03:03 ChenBin12138

嗯嗯 目前基本表格内部还没支持多个排序规则

fangsmile avatar Mar 13 '24 03:03 fangsmile

嗯嗯 目前基本表格内部还没支持多个排序规则

@fangsmile 这个有计划支持么

feEden avatar Jul 18 '24 10:07 feEden

嗯嗯 目前基本表格内部还没支持多个排序规则

I can help add multiple sorting to the repository if you don't have plans or the ability to add this feature anytime soon. This feature is sorely lacking

AntonPolyakin avatar Jul 20 '24 20:07 AntonPolyakin