Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

表格排序 增加”高级“排序能力 #1344

Closed
TMBigGroup opened this issue May 16, 2022 · 1 comment
Closed

表格排序 增加”高级“排序能力 #1344

TMBigGroup opened this issue May 16, 2022 · 1 comment
Assignees

Comments

@TMBigGroup
Copy link
Contributor

你的功能要求与某个问题相关吗?
table在设计器页面进行默认排序,排序顺序【名称,编号,日期】
datart默认排序优先级是从高到低

如果用户在分享页通过表头二次进行【名称】升序,则数据排序实际结果为【编号,日期,名称】
导致从界面上查看数据有一定的诡异情况

形容一下你想要的解决方案

简单介绍几种

  • 开放排序的高阶能力。优先级的设定
  • 开放排序的执行策略。比如用户的执行是否是最高优先级,(目前table只有单列排序能力,如果后期开放多列排序能力,最高优先级判断逻辑就有一定漏洞,并不是一个很好的解决方案)
  • 设计器本身默认的排序逻辑,不和用户执行的排序杂糅到一起。table默认展示的就是默认排序逻辑,一旦用户操作了排序能力,就只会按照用户的操作顺序计算。

描述一下你考虑过的备选方案
可以在”分析“面板,开放一个”高级排序“卡片,比如s2的高级排序能力

其他内容
排序牵扯到多种场景和姿势

@Cuiyansong Cuiyansong self-assigned this Jul 12, 2022
@scottsut
Copy link
Contributor

#1400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants