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

virtual-column 不支持selectable去控制checkbox的禁用状态 #29

Closed
songxianzhe opened this issue Aug 8, 2023 · 4 comments
Closed

Comments

@songxianzhe
Copy link

需要为多选框根据条件判断多选是否禁用, virtual-column 不支持使用selectable去控制checkbox的禁用状态, 请问可以支持该属性或新增其他属性去控制吗?

@songxianzhe
Copy link
Author

songxianzhe commented Aug 8, 2023

image

@songxianzhe
Copy link
Author

songxianzhe commented Aug 8, 2023

<virtual-column
  type="selection"
  fixed
  width="55"
  align="center"
  :selectable=" (row, index) => index!==0 "
/>
<el-table-column
  type="selection"
  width="55"
  align="center"
  :selectable=" (row, index) => index!==0 "
/>

@xiaocheng555
Copy link
Owner

好的,晚点支持这个功能

@xiaocheng555
Copy link
Owner

需要为多选框根据条件判断多选是否禁用, virtual-column 不支持使用selectable去控制checkbox的禁用状态, 请问可以支持该属性或新增其他属性去控制吗?

已支持,el-table-virtual-scroll升级到1.0.17版本

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

2 participants