pm1*_*m13 5 checkbox grid extjs extjs3
我的checkColumn的checkchange监听器无法正常工作.任何想法为什么不呢?
var checked = new Ext.grid.CheckColumn({
header: 'Test',
dataIndex: 'condition',
renderer: function(v,p,record){
var content = record.data['info'];
if(content == 'True'){
p.css += ' x-grid3-check-col-td';
return '<div class="x-grid3-check-col'+(v?'-on':'')+' x-grid3-cc-'+this.id+'"> </div>';
}
},
listeners:{
checkchange: function(column, recordIndex, checked){
alert("checked");
}
}
});
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
3888 次 |
最近记录: |