bootstrap控制复选框根据属性

{
                    checkbox: true,
                    visible: true,
                    formatter: function (value, row, index) {
                        if(row.isCheck =="1"){
                            
                        return {disabled : true,}
                        
                        }else{
                            return {disabled : false}
                        }
                        
                    }
                },

 

posted @ 2020-12-12 15:52  逝年的我们  阅读(261)  评论(0编辑  收藏  举报