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] 能否支持点击某一列展开,展开按钮在某一列而不是每一行的开头 #2215

Open
Magua-Q opened this issue May 11, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Magua-Q
Copy link

Magua-Q commented May 11, 2023

这个功能解决了什么问题

用户自定义列展开,而且看起来样式好看一下

你建议的方案是什么

  1. 展开按钮可以设置在任意列
  2. 点击展开或收起
@github-actions
Copy link
Contributor

👋 @Magua-Q,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

♥️ 有劳 @yunfeic @tengcaifeng @Yacent @basecss 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @Magua-Q

@chaishi
Copy link
Collaborator

chaishi commented Jun 18, 2023

当前,你可以这样处理:

  • 第一步,设置“展开图标”隐藏,即“”
  • 第二步,点击任意列任意单元格后,操作 expandedRowKeys 的值,通过 push / splice 等方法进行控制

@HaixingOoO HaixingOoO added the enhancement New feature or request label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants