// Grid Column
{ header: "Defected", xtype: 'checkcolumn', dataIndex: "test", renderer : this.chTest}
// renderer function
chTest : function(value, metadata, record){
if(record.get('A') == "Y"){
return true; //I expected the checkbox be checked, but it show letter 'true'
}else{
return false;
}
}
如何在 rederer 函数中选中或取消选中 checkcolum?