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] 希望给展开的行添加classname以添加自定义样式 #3087

Closed
qinbx opened this issue Sep 9, 2024 · 2 comments
Closed

[table] 希望给展开的行添加classname以添加自定义样式 #3087

qinbx opened this issue Sep 9, 2024 · 2 comments
Labels
to be published fixed, not be published

Comments

@qinbx
Copy link

qinbx commented Sep 9, 2024

这个功能解决了什么问题

重现步骤
https://tdesign.tencent.com/react/components/table#可展开和收起的表格 页面中,点击某一图标,展开子行。

目前展开行的图标有特殊class t-table__row--expanded,但图标的祖辈tr元素没有展开状态css class name

你建议的方案是什么

希望给展开行的tr添加展开状态的css class name,以达到可以给展开子行添加特殊背景色等样式的目标。

Copy link
Contributor

github-actions bot commented Sep 9, 2024

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

@uyarn
Copy link
Collaborator

uyarn commented Sep 26, 2024

supported 1.9.1

@uyarn uyarn closed this as completed Sep 26, 2024
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