Pman.Tab.AdminContactsGroupRight.js
"sortable": false,
"width": 300,
"xtype": "ColumnModel",
- "|renderer": "function(v) { return String.format('{0}', v); }",
+ "|renderer": "function(v)\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"
},
{
header : 'Permission',
sortable : false,
width : 300,
- renderer : function(v) { return String.format('{0}', v); }
+ renderer : function(v)
+ {
+ if (r.json.descript && r.json.descript.length) {
+ return String.format('{0}',r.json.descript);
+ }
+
+ return '???' + v;
+ }
},
{
xtype: 'ColumnModel',