Pman.Tab.XtupleCurrency.bjs
authorEdward <edward@roojs.com>
Fri, 27 Dec 2013 03:37:19 +0000 (11:37 +0800)
committerEdward <edward@roojs.com>
Fri, 27 Dec 2013 03:37:19 +0000 (11:37 +0800)
Pman.Tab.XtupleCurrency.js

Pman.Tab.XtupleCurrency.bjs
Pman.Tab.XtupleCurrency.js

index ef1a205..9ea0dd4 100644 (file)
                             "|xns": "Roo",
                             "items": [
                                 {
-                                    "*prop": "grid",
-                                    "xtype": "Grid",
-                                    "autoExpandColumn": "curr_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": "curr_name",
+                                    "loadMask": true,
+                                    "xtype": "Grid",
                                     "|xns": "Roo.grid",
                                     "items": [
                                         {
index c49e061..050a7d4 100644 (file)
@@ -44,8 +44,6 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                         grid : {
                             xtype: 'Grid',
                             xns: Roo.grid,
-                            autoExpandColumn : 'curr_name',
-                            loadMask : true,
                             listeners : {
                                 render : function() 
                                 {
@@ -63,6 +61,8 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                     }); 
                                 }
                             },
+                            autoExpandColumn : 'curr_name',
+                            loadMask : true,
                             sm : {
                                 xtype: 'RowSelectionModel',
                                 xns: Roo.grid,