From 525891c15b0a90e2555c864542137a9ccc46834a Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 13 Sep 2012 12:28:11 +0800 Subject: [PATCH] Pman.Tab.AdminContactsGroupRight.bjs Pman.Tab.AdminContactsGroupRight.js --- Pman.Tab.AdminContactsGroupRight.bjs | 27 +++++++++++++++++++ Pman.Tab.AdminContactsGroupRight.js | 39 ++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/Pman.Tab.AdminContactsGroupRight.bjs b/Pman.Tab.AdminContactsGroupRight.bjs index 18fa82c..32dcb83 100644 --- a/Pman.Tab.AdminContactsGroupRight.bjs +++ b/Pman.Tab.AdminContactsGroupRight.bjs @@ -276,6 +276,33 @@ "|renderer": "function(v) { \n var state = v> 0 ? '-checked' : '';\n\n return '';\n \n }", "|xns": "Roo.grid" }, + { + "*prop": "colModel[]", + "dataIndex": "active", + "header": "Active", + "width": 75, + "xtype": "ColumnModel", + "|renderer": "function(v) { \n var state = v> 0 ? '-checked' : '';\n\n return '';\n \n }", + "|xns": "Roo.grid" + }, + { + "*prop": "colModel[]", + "dataIndex": "active", + "header": "Active", + "width": 75, + "xtype": "ColumnModel", + "|renderer": "function(v) { \n var state = v> 0 ? '-checked' : '';\n\n return '';\n \n }", + "|xns": "Roo.grid" + }, + { + "*prop": "colModel[]", + "dataIndex": "active", + "header": "Active", + "width": 75, + "xtype": "ColumnModel", + "|renderer": "function(v) { \n var state = v> 0 ? '-checked' : '';\n\n return '';\n \n }", + "|xns": "Roo.grid" + }, { "*prop": "colModel[]", "dataIndex": "active", diff --git a/Pman.Tab.AdminContactsGroupRight.js b/Pman.Tab.AdminContactsGroupRight.js index 61c1c65..b2c429f 100644 --- a/Pman.Tab.AdminContactsGroupRight.js +++ b/Pman.Tab.AdminContactsGroupRight.js @@ -756,6 +756,45 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({ return ''; + } + }, + { + xtype: 'ColumnModel', + xns: Roo.grid, + dataIndex : 'active', + header : 'Active', + width : 75, + renderer : function(v) { + var state = v> 0 ? '-checked' : ''; + + return ''; + + } + }, + { + xtype: 'ColumnModel', + xns: Roo.grid, + dataIndex : 'active', + header : 'Active', + width : 75, + renderer : function(v) { + var state = v> 0 ? '-checked' : ''; + + return ''; + + } + }, + { + xtype: 'ColumnModel', + xns: Roo.grid, + dataIndex : 'active', + header : 'Active', + width : 75, + renderer : function(v) { + var state = v> 0 ? '-checked' : ''; + + return ''; + } } ] -- 2.39.2