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

[table] 排序方式建议支持点击直接排序 #480

Closed
HULANG-BTB opened this issue Mar 3, 2022 · 2 comments
Closed

[table] 排序方式建议支持点击直接排序 #480

HULANG-BTB opened this issue Mar 3, 2022 · 2 comments
Labels
to be published fixed, not be published

Comments

@HULANG-BTB
Copy link

这个功能解决了什么问题

可以实现点击按钮直接按照对应的方式排序,而不是切换。

你建议的方案是什么?

能够支持配置方式为点击升序按钮切换为升序,点击降序按钮切换为降序,如果当前为升序,点击升序按钮取消排序(如果支持不排序),降序同理。
同时切换排序模式下,按钮比较小,希望能够支持点击标题切换,而不是点击按钮切换。

@chaishi
Copy link
Collaborator

chaishi commented Mar 5, 2022

  • 关于支持点击直接排序,建议采纳
  • 关于点击标题就进行排序,这样的交互也不是很合理,有时候的点击可能只是想复制一下标题,但是意外地触发了排序,我们支持一下表格之外空白区域的点击排序,即增加排序按钮的点击范围

image

@chaishi
Copy link
Collaborator

chaishi commented Mar 29, 2022

resolved in v0.39.1

@chaishi chaishi closed this as completed Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

2 participants