Pman.Tab.AdminContactsGroupRight.bjs
[Pman.Admin] / Pman.Tab.AdminContactsGroupRight.js
index b2c429f..22b22a8 100644 (file)
@@ -71,7 +71,6 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                             
                     }
                 },
-                autoExpandColumn : 'name',
                 ddGroup : 'groupDD',
                 enableDrag : true,
                 loadMask : true,
@@ -713,6 +712,9 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                         sortable : false,
                         width : 150,
                         renderer : function(v,x,r) {
+                            if(!v){
+                                return;
+                            }
                             return String.format('<span qtip="{1}">{0}</span>', v.split('.').shift(), v);
                         }
                     },
@@ -735,8 +737,8 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                     {
                         xtype: 'ColumnModel',
                         xns: Roo.grid,
-                        dataIndex : 'active',
-                        header : 'Active',
+                        dataIndex : 'accessmask_A',
+                        header : 'Add',
                         width : 75,
                         renderer : function(v) {  
                             var state = v> 0 ?  '-checked' : '';
@@ -748,8 +750,8 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                     {
                         xtype: 'ColumnModel',
                         xns: Roo.grid,
-                        dataIndex : 'active',
-                        header : 'Active',
+                        dataIndex : 'accessmask_E',
+                        header : 'Edit',
                         width : 75,
                         renderer : function(v) {  
                             var state = v> 0 ?  '-checked' : '';
@@ -761,8 +763,8 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                     {
                         xtype: 'ColumnModel',
                         xns: Roo.grid,
-                        dataIndex : 'active',
-                        header : 'Active',
+                        dataIndex : 'accessmask_D',
+                        header : 'Delete',
                         width : 75,
                         renderer : function(v) {  
                             var state = v> 0 ?  '-checked' : '';
@@ -774,8 +776,8 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                     {
                         xtype: 'ColumnModel',
                         xns: Roo.grid,
-                        dataIndex : 'active',
-                        header : 'Active',
+                        dataIndex : 'accessmask_S',
+                        header : 'List/View',
                         width : 75,
                         renderer : function(v) {  
                             var state = v> 0 ?  '-checked' : '';
@@ -787,8 +789,8 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                     {
                         xtype: 'ColumnModel',
                         xns: Roo.grid,
-                        dataIndex : 'active',
-                        header : 'Active',
+                        dataIndex : 'accessmask_P',
+                        header : 'Print/Export',
                         width : 75,
                         renderer : function(v) {  
                             var state = v> 0 ?  '-checked' : '';