你现在是个程序员bootstraptable 的中checkbox如何设置为只读
在 BootstrapTable 的中,Checkbox 可以通过设置 editable 属性来控制是否可编辑,只需将 editable 属性设置为 false 即可将 Checkbox 设置为只读状态。
例如:
$('#table').bootstrapTable({
columns: [{
checkbox: true,
editable: false, // 设置为只读
// ...
}],
// ...
});
原文地址: https://www.cveoy.top/t/topic/dxG4 著作权归作者所有。请勿转载和采集!