VTable
VTable copied to clipboard
[Bug] react-vtable :checkbox disable状态下,全选还能选中
Version
^1.17.6
Link to Minimal Reproduction
none
Steps to Reproduce
{ field: 'check', title: '', width: 60, headerType: 'checkbox', cellType: 'checkbox', headerStyle: { textAlign: 'center', }, style: { textAlign: 'center', }, disable: (args) => { const { col, row } = args; return row !== 0 && row % 2 === 0; }, },
Current Behavior
checkbox disable状态下,全选还能选中
Expected Behavior
checkbox disable状态下,全选不选中disable的checkbox
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
目前单元格的disable配置是一个交互配置,只能影响该checkbox是否能点击,不能固定它的状态
checkbox disable状态下,全选的时候那些disable是不是不应该被选中?考虑优化吗?
遇到了同样的问题,希望尽快修复或者提供相关配置项来配置相关行为