doStoreLoad: function() { this.setContentStyle(); }, dbSortchange: function() { this.setContentStyle(); }, setContentStyle: function() { var total = this.grid.store.getCount(),view = this.grid.getView(); for(var i=0 ;i<total;i++) { var record = this.grid.store.getAt(i); var row = view.getRow(i); if(record.data.is_disabled == '2') { row.style.color='#9D9D9D'; } } }
gridPanel设置行变色
猜你喜欢
转载自zhihchen.iteye.com/blog/2067196
今日推荐
周排行