是
table
table组件的el-table-column type=‘selection‘ 的这一列怎么设置禁用 使复选框默认不能被勾选 我按照el-button组件 加上disabled 这个属性 没有生效 正确的方式应该怎么设置求告知
Translation of this issue:
yes
Table
The table component of el-table-column type= 'selection' in the column that how to set the check box to disable the default cannot be checked in accordance with my el-button component with disabled this property did not come into the right way how to set up and inform
type=''selection‘有一个方法可以的selectable,如下:
<el-table-column type="selection" width="55" :selectable="selectFun">
selectFun中返回false就是不能被勾选的行
A proper translation of this feature.
Reason: I stumbled on this page when i was trying to select all rows and pass the data.
By using this attribute, :selectable="YourFunction", you are able to know when the select all button is marked.
Most helpful comment
type=''selection‘有一个方法可以的selectable,如下:
<el-table-column type="selection" width="55" :selectable="selectFun">
selectFun中返回false就是不能被勾选的行