Pman.Tab.AdminContactsGroupRight.js
"|renderer": "function(v,x,r)\n{\n if (r.json.descript && r.json.descript.length) {\n return String.format('{0}',r.json.descript);\n }\n \n return '???' + v;\n}",
"|xns": "Roo.grid"
},
+ {
+ "*prop": "colModel[]",
+ "dataIndex": "active",
+ "header": "Active",
+ "width": 75,
+ "xtype": "ColumnModel",
+ "|renderer": "function(v) { \n var state = v> 0 ? '-checked' : '';\n\n return '<img class=\"x-grid-check-icon' + state + '\" src=\"' + Roo.BLANK_IMAGE_URL + '\"/>';\n \n }",
+ "|xns": "Roo.grid"
+ },
{
"*prop": "colModel[]",
"dataIndex": "active",
return '<img class="x-grid-check-icon' + state + '" src="' + Roo.BLANK_IMAGE_URL + '"/>';
+ }
+ },
+ {
+ xtype: 'ColumnModel',
+ xns: Roo.grid,
+ dataIndex : 'active',
+ header : 'Active',
+ width : 75,
+ renderer : function(v) {
+ var state = v> 0 ? '-checked' : '';
+
+ return '<img class="x-grid-check-icon' + state + '" src="' + Roo.BLANK_IMAGE_URL + '"/>';
+
}
}
]