Pman.Tab.XtupleReports.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:07:50 +0000 (20:07 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:07:50 +0000 (20:07 +0800)
Pman.Tab.XtupleReports.js

Pman.Tab.XtupleReports.bjs
Pman.Tab.XtupleReports.js

index 3147297..5013b37 100644 (file)
                             },
                             "items": [
                                 {
-                                    "*prop": "grid",
-                                    "xtype": "Grid",
-                                    "autoExpandColumn": "report_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": "report_descrip",
+                                    "loadMask": true,
+                                    "xtype": "Grid",
                                     "|xns": "Roo.grid",
                                     "items": [
                                         {
index b863aca..3974921 100644 (file)
@@ -42,8 +42,6 @@ Pman.Tab.XtupleReports = new Roo.XComponent({
                         grid : {
                             xtype: 'Grid',
                             xns: Roo.grid,
-                            autoExpandColumn : 'report_name',
-                            loadMask : true,
                             listeners : {
                                 render : function() 
                                 {
@@ -61,6 +59,8 @@ Pman.Tab.XtupleReports = new Roo.XComponent({
                                     }); 
                                 }
                             },
+                            autoExpandColumn : 'report_descrip',
+                            loadMask : true,
                             dataSource : {
                                 xtype: 'Store',
                                 xns: Roo.data,