Pman.Tab.AdminWatches.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 07:25:32 +0000 (15:25 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 07:25:32 +0000 (15:25 +0800)
Pman.Tab.AdminWatches.bjs
Pman.Tab.AdminWatches.js
Pman.Tab.AdminWatches.js

Pman.Tab.AdminWatches.bjs
Pman.Tab.AdminWatches.js

index 4ae89ca..a69022c 100644 (file)
             },
             "items": [
                 {
-                    "*prop": "grid",
-                    "xtype": "Grid",
-                    "autoExpandColumn": "ontable",
-                    "loadMask": true,
                     "listeners": {
                         "|render": "function() \n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}",
                         "|rowdblclick": "function (_self, rowIndex, e)\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n        _this.grid.footer.onClick('first');\n    }); \n}\n"
                     },
+                    "*prop": "grid",
+                    "autoExpandColumn": "person_id_namne",
+                    "loadMask": true,
+                    "xtype": "Grid",
                     "|xns": "Roo.grid",
                     "items": [
                         {
index 6be7101..a6935ba 100644 (file)
@@ -50,8 +50,6 @@ Pman.Tab.AdminWatches = new Roo.util.Observable({
             grid : {
                 xtype: 'Grid',
                 xns: Roo.grid,
-                autoExpandColumn : 'ontable',
-                loadMask : true,
                 listeners : {
                     render : function() 
                     {
@@ -69,6 +67,8 @@ Pman.Tab.AdminWatches = new Roo.util.Observable({
                         }); 
                     }
                 },
+                autoExpandColumn : 'person_id_namne',
+                loadMask : true,
                 dataSource : {
                     xtype: 'Store',
                     xns: Roo.data,