Pman.Dialog.XtupleJournalEntry.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 09:28:26 +0000 (17:28 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 09:28:26 +0000 (17:28 +0800)
Pman.Dialog.XtupleJournalEntry.js

Pman.Dialog.XtupleJournalEntry.bjs
Pman.Dialog.XtupleJournalEntry.js

index a128368..345d5ac 100644 (file)
                     "|xns": "Roo",
                     "items": [
                         {
-                            "*prop": "grid",
-                            "xtype": "Grid",
-                            "autoExpandColumn": "gltrans_source",
-                            "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": "gltrans_source",
+                            "loadMask": true,
+                            "xtype": "Grid",
                             "|xns": "Roo.grid",
                             "items": [
                                 {
index 8820c82..f8c1af6 100644 (file)
@@ -226,8 +226,6 @@ Pman.Dialog.XtupleJournalEntry = {
                     grid : {
                         xtype: 'Grid',
                         xns: Roo.grid,
-                        autoExpandColumn : 'gltrans_source',
-                        loadMask : true,
                         listeners : {
                             render : function() 
                             {
@@ -245,6 +243,8 @@ Pman.Dialog.XtupleJournalEntry = {
                                 }); 
                             }
                         },
+                        autoExpandColumn : 'gltrans_source',
+                        loadMask : true,
                         dataSource : {
                             xtype: 'Store',
                             xns: Roo.data,