Pman.Dialog.XtupleVendorEdit.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 04:34:49 +0000 (12:34 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 04:34:49 +0000 (12:34 +0800)
Pman.Dialog.XtupleVendorEdit.js

Pman.Dialog.XtupleVendorEdit.bjs
Pman.Dialog.XtupleVendorEdit.js

index aca1c82..9effd44 100644 (file)
                     "|xns": "Roo",
                     "items": [
                         {
-                            "*prop": "grid",
-                            "xtype": "Grid",
-                            "autoExpandColumn": "itemsrc_vend_item_number",
-                            "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": "itemsrc_vend_item_descrip",
+                            "loadMask": true,
+                            "xtype": "Grid",
                             "|xns": "Roo.grid",
                             "items": [
                                 {
index a996a87..306376b 100644 (file)
@@ -498,8 +498,6 @@ Pman.Dialog.XtupleVendorEdit = {
                     grid : {
                         xtype: 'Grid',
                         xns: Roo.grid,
-                        autoExpandColumn : 'itemsrc_vend_item_number',
-                        loadMask : true,
                         listeners : {
                             render : function() 
                             {
@@ -517,6 +515,8 @@ Pman.Dialog.XtupleVendorEdit = {
                                 }); 
                             }
                         },
+                        autoExpandColumn : 'itemsrc_vend_item_descrip',
+                        loadMask : true,
                         dataSource : {
                             xtype: 'Store',
                             xns: Roo.data,