Pman.Tab.AdminLogDrill.bjs
authorAlan Knowles <alan@akbkhome.com>
Tue, 17 Jan 2012 06:57:11 +0000 (14:57 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 17 Jan 2012 06:57:11 +0000 (14:57 +0800)
Pman.Tab.AdminLogDrill.bjs
Pman.Tab.AdminLogDrill.js
Pman.Tab.AdminLogDrill.js
Pman.Tab.AdminLogDrill.bjs
Pman.Tab.AdminLogDrill.bjs
Pman.Tab.AdminLogDrill.js
Pman.Tab.AdminLogDrill.js

Pman.Tab.AdminLogDrill.bjs
Pman.Tab.AdminLogDrill.js

index ce4c992..1cf68ba 100644 (file)
                             "|xns": "Roo",
                             "items": [
                                 {
-                                    "*prop": "grid",
-                                    "xtype": "Grid",
-                                    "autoExpandColumn": "person_name",
-                                    "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}",
+                                        "|render": "function() \n{\n    _this.detailgrid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.detailpanel.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_name",
+                                    "loadMask": true,
+                                    "xtype": "Grid",
                                     "|xns": "Roo.grid",
                                     "items": [
                                         {
index a36e374..6813a0a 100644 (file)
@@ -908,14 +908,12 @@ Pman.Tab.AdminLogDrill = new Roo.util.Observable({
                         grid : {
                             xtype: 'Grid',
                             xns: Roo.grid,
-                            autoExpandColumn : 'person_name',
-                            loadMask : true,
                             listeners : {
                                 render : function() 
                                 {
-                                    _this.grid = this; 
+                                    _this.detailgrid = this; 
                                     //_this.dialog = Pman.Dialog.FILL_IN
-                                    if (_this.panel.active) {
+                                    if (_this.detailpanel.active) {
                                        this.footer.onClick('first');
                                     }
                                 },
@@ -927,6 +925,8 @@ Pman.Tab.AdminLogDrill = new Roo.util.Observable({
                                     }); 
                                 }
                             },
+                            autoExpandColumn : 'person_name',
+                            loadMask : true,
                             dataSource : {
                                 xtype: 'Store',
                                 xns: Roo.data,