-
Notifications
You must be signed in to change notification settings - Fork 484
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] 可编辑表格可否增加一个参数edit.editable
#1387
Comments
👋 @wandoupeas,感谢给 TDesign 提出了 issue。 |
|
可以,我看下 |
不需要每一列设置.
|
是新的api吗 |
0.20.2 已修复 |
我有看到新的api( 本来我想达到的效果是在 现在是在table的props内添加了一个类似的属性
|
这个功能解决了什么问题
可编辑表格,当前编辑的cell需要根据当前行的其他某些值来动态判断是否可编辑,
edit.props
只能控制控件的props
,让类似input
等组件readonly
,无法根本上让其变为不可编辑或文本状态你建议的方案是什么
可否提供一个
edit.editable
属性(editable?: booelan | (params: BaseTableCellParams<T>) => boolean
),用以动态判断当前cell是否可编辑The text was updated successfully, but these errors were encountered: