Pman.Dialog.AdminEventLog.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 11 Feb 2014 04:22:59 +0000 (12:22 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 11 Feb 2014 04:22:59 +0000 (12:22 +0800)
Pman.Dialog.AdminEventLog.js

Pman.Dialog.AdminEventLog.bjs
Pman.Dialog.AdminEventLog.js

index 00c2776..0b3429e 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}",
                                 "|rowdblclick": "function (_self, rowIndex, e)\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {\n        _this.grid.footer.onClick('first');\n    }); \n}\n"
                             },
+                            "*prop": "grid",
+                            "autoExpandColumn": "remarks",
+                            "loadMask": true,
+                            "xtype": "Grid",
                             "|xns": "Roo.grid",
                             "items": [
                                 {
index ecd37e8..74bb8d3 100644 (file)
@@ -53,8 +53,6 @@ Pman.Dialog.AdminEventLog = {
                     grid : {
                         xtype: 'Grid',
                         xns: Roo.grid,
-                        autoExpandColumn : 'person_name',
-                        loadMask : true,
                         listeners : {
                             render : function() 
                             {
@@ -72,6 +70,8 @@ Pman.Dialog.AdminEventLog = {
                                 }); 
                             }
                         },
+                        autoExpandColumn : 'remarks',
+                        loadMask : true,
                         dataSource : {
                             xtype: 'Store',
                             xns: Roo.data,