Pman.Tab.AdminCompanies.bjs
authorAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 07:55:10 +0000 (15:55 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 07:55:10 +0000 (15:55 +0800)
Pman.Tab.AdminCompanies.bjs

index 212974e..54404de 100644 (file)
             },
             "items": [
                 {
-                    "*prop": "grid",
-                    "xtype": "Grid",
-                    "autoExpandColumn": "code",
-                    "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": "name",
+                    "loadMask": true,
+                    "xtype": "Grid",
                     "|xns": "Roo.grid",
                     "items": [
                         {