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

👑 [需求] EditableProTable 可编辑表格新建按钮在禁用时候可以加入提示文本 #8813

Open
louhaojie99 opened this issue Oct 22, 2024 · 0 comments

Comments

@louhaojie99
Copy link

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🔩 所属模块或组件

数据展示/EditableProTable - 可编辑表格

🥰 需求描述

希望在可编辑表格的新建按钮被禁用时,能够添加提示文本。

⛰ 功能需求适用场景

例如,在某组数据中,只有在开启特定配置后,表格才能支持添加多条记录,否则只能添加一条记录。如果没有开启配置,新建按钮会被禁用,希望在这种情况下通过 tooltip 提示文本,引导用户了解禁用原因。

🧐 解决方案

#8806

可以支持自定义渲染新建按钮,这样更加灵活,仅在 originNode 的基础上修改不影响原来的使用。

🚑 其他信息

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

No branches or pull requests

1 participant