bootstrap table checkbox 根据值选中、禁用等

时间:2018-12-26 11:27:15   收藏:0   阅读:1371

{

checkbox: true,
formatter: function (value, row, index) {

if(row.ISTOPIC === 1){
return {
disabled : false,
}
}else{
return {
disabled : true,
}
}
return row.ID;
}

}

原文:https://www.cnblogs.com/oralig/p/10177896.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!