VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Bug] react-vtable :checkbox disable状态下,全选还能选中

Open YXYFuture opened this issue 8 months ago • 3 comments

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

YXYFuture avatar Apr 15 '25 00:04 YXYFuture

目前单元格的disable配置是一个交互配置,只能影响该checkbox是否能点击,不能固定它的状态

Rui-Sun avatar Apr 16 '25 08:04 Rui-Sun

checkbox disable状态下,全选的时候那些disable是不是不应该被选中?考虑优化吗?

YXYFuture avatar Apr 17 '25 01:04 YXYFuture

遇到了同样的问题,希望尽快修复或者提供相关配置项来配置相关行为

samilywang avatar Oct 21 '25 09:10 samilywang