summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a84daf0)
Pman.Tab.AdminContactsGroupRight.js
"sortable": false,
"width": 300,
"xtype": "ColumnModel",
"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}",
header : 'Permission',
sortable : false,
width : 300,
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',
},
{
xtype: 'ColumnModel',