Pman.Tab.AdminContactsGroupRight.bjs
authorChris <chris@roojs.com>
Thu, 13 Sep 2012 06:28:48 +0000 (14:28 +0800)
committerChris <chris@roojs.com>
Thu, 13 Sep 2012 06:28:48 +0000 (14:28 +0800)
Pman.Tab.AdminContactsGroupRight.js

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

index 32fffff..8967eb1 100644 (file)
                             "sortable": false,
                             "width": 50,
                             "xtype": "ColumnModel",
-                            "|renderer": "function(v,x,r) {\n    /*var k = r.data.accesmask.split('');\n    Roo.each(k, function(e){\n        \n    });*/\n    Roo.log(this);\n    var state = v> 0 ?  '-checked' : '';\n\n    return '<img class=\"x-grid-check-icon' + state + '\" src=\"' + Roo.BLANK_IMAGE_URL + '\"/>';\n}",
+                            "|renderer": "function(v,x,r) {\n    var k = r.data.accesmask.split('');\n    Roo.each(k, function(e){\n        r.data\n    });\n    Roo.log(this);\n    var state = v> 0 ?  '-checked' : '';\n\n    return '<img class=\"x-grid-check-icon' + state + '\" src=\"' + Roo.BLANK_IMAGE_URL + '\"/>';\n}",
                             "|xns": "Roo.grid"
                         },
                         {
index c16aaf2..e105de0 100644 (file)
@@ -296,10 +296,10 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                         sortable : false,
                         width : 50,
                         renderer : function(v,x,r) {
-                            /*var k = r.data.accesmask.split('');
+                            var k = r.data.accesmask.split('');
                             Roo.each(k, function(e){
-                                
-                            });*/
+                                r.data
+                            });
                             Roo.log(this);
                             var state = v> 0 ?  '-checked' : '';