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

{

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

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

}

posted @ 2018-12-26 10:45  橘子拾光  阅读(7438)  评论(0)    收藏  举报