Pman.Tab.AdminContactsGroupRight.bjs
authorChris <chris@roojs.com>
Wed, 12 Sep 2012 10:05:31 +0000 (18:05 +0800)
committerChris <chris@roojs.com>
Wed, 12 Sep 2012 10:05:31 +0000 (18:05 +0800)
Pman.Tab.AdminContactsGroupRight.js

Pman.Tab.AdminContactsGroupRight.bjs
Pman.Tab.AdminContactsGroupRight.js

index 62b18db..08e7051 100644 (file)
                             "sortable": false,
                             "width": 300,
                             "xtype": "ColumnModel",
-                            "|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}",
+                            "|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"
                         },
                         {
index 29e94cc..f0c8e81 100644 (file)
@@ -725,7 +725,7 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                         header : 'Permission',
                         sortable : false,
                         width : 300,
-                        renderer : function(v)
+                        renderer : function(v,x,r)
                         {
                             if (r.json.descript && r.json.descript.length) {
                                 return String.format('{0}',r.json.descript);