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] row事件监听具有局限性 #3034

Open
ayuechuan opened this issue Aug 3, 2024 · 2 comments
Open

[Table] row事件监听具有局限性 #3034

ayuechuan opened this issue Aug 3, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ayuechuan
Copy link

这个功能解决了什么问题

这是 td 的组件 API,这样定义具有局限性 如果我想在 tr 上添加右键事件和其他事件呢?势必又会修改源代码。
image
35d443d0054b7b9902cfeb39ecd225cc

这是 rc-table的实现 具有高度自定义 我觉得实现上可以进行参考。
image
b8a9713f212c7f9ba75a530ffe2e5c8d

你建议的方案是什么

可以参考一些 React 社区的组件实现 这样 tdesign-react自定义性才高。

Copy link
Contributor

github-actions bot commented Aug 3, 2024

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

@HaixingOoO HaixingOoO added the enhancement New feature or request label Aug 4, 2024
@HaixingOoO
Copy link
Collaborator

感谢您的建议,确实不错!!!

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

2 participants