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的 data 数据 _checked 以及 _disbaled 参数的建议 #31

Open
loongMa opened this issue Jul 15, 2019 · 0 comments
Open

Comments

@loongMa
Copy link
Contributor

loongMa commented Jul 15, 2019

希望Table 可以增加 一个API,接受一个返回包含 _checked 和 _disabled参数的object 的方法
getDataSelections={(record) => { return { _checked: record.checked, _disabled: record.disabled } }}
table内部在进行数据遍历的时候,将使用此方法获取的对象来进行选中,禁用等设置,
这样就不需要用户现在外面遍历一遍数据,设置_checked,_disabled,传入table,让后table再进行遍历

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