From: Chris Date: Thu, 13 Sep 2012 06:20:07 +0000 (+0800) Subject: Pman.Tab.AdminContactsGroupRight.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=7de10ffada811e9b4b51d7a85bff358fd0cc65b4 Pman.Tab.AdminContactsGroupRight.bjs Pman.Tab.AdminContactsGroupRight.js --- diff --git a/Pman.Tab.AdminContactsGroupRight.bjs b/Pman.Tab.AdminContactsGroupRight.bjs index 9624223..be0613b 100644 --- a/Pman.Tab.AdminContactsGroupRight.bjs +++ b/Pman.Tab.AdminContactsGroupRight.bjs @@ -165,7 +165,7 @@ "sortable": false, "width": 50, "xtype": "ColumnModel", - "|renderer": "function(v,x,r) {\n var state = v> 0 ? '-checked' : '';\n\n return '';\n}", + "|renderer": "function(v,x,r) {\n var k = r.data.accesmask.split('');\n Roo.each(k, function(e){\n \n });\n var state = v> 0 ? '-checked' : '';\n\n return '';\n}", "|xns": "Roo.grid" }, { diff --git a/Pman.Tab.AdminContactsGroupRight.js b/Pman.Tab.AdminContactsGroupRight.js index 35e4dde..9ce2d73 100644 --- a/Pman.Tab.AdminContactsGroupRight.js +++ b/Pman.Tab.AdminContactsGroupRight.js @@ -296,6 +296,10 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({ sortable : false, width : 50, renderer : function(v,x,r) { + var k = r.data.accesmask.split(''); + Roo.each(k, function(e){ + + }); var state = v> 0 ? '-checked' : ''; return '';