From: Alan Date: Tue, 28 Dec 2021 03:45:15 +0000 (+0800) Subject: Uncommited changes synced X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=2a5b32cd2a797e1b979e9cb531d046b6c97003d2 Uncommited changes synced --- diff --git a/Pman.Tab.AdminCompanies.bjs b/Pman.Tab.AdminCompanies.bjs index 8b1cca5..3293cb7 100644 --- a/Pman.Tab.AdminCompanies.bjs +++ b/Pman.Tab.AdminCompanies.bjs @@ -25,9 +25,10 @@ "items" : [ { "region" : "center", - "xtype" : "NestedLayoutPanel", "title" : "Companies", + "xtype" : "NestedLayoutPanel", "$ xns" : "Roo", + "Boolean background" : true, "items" : [ { "Object listeners" : "", @@ -52,9 +53,9 @@ "listeners" : { "|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}" }, + "fitToframe" : true, "background" : true, "region" : "center", - "fitToframe" : true, "title" : "Companies", "xtype" : "GridPanel", "fitContainer" : true, @@ -89,8 +90,8 @@ "load" : "function (This, o, arg)\n{\n \n}" }, "$ url" : "baseURL + '/Roo/core_company'", - "xtype" : "HttpProxy", "method" : "GET", + "xtype" : "HttpProxy", "$ xns" : "Roo.data", "* prop" : "proxy" }, @@ -228,8 +229,8 @@ }, { "xtype" : "ColumnModel", - "header" : "Tel", "width" : 100, + "header" : "Tel", "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -237,8 +238,8 @@ }, { "xtype" : "ColumnModel", - "header" : "Fax", "width" : 100, + "header" : "Fax", "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -266,8 +267,8 @@ }, { "xtype" : "ColumnModel", - "width" : 200, "header" : "Remarks", + "width" : 200, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", diff --git a/Pman.Tab.AdminCompanies.js b/Pman.Tab.AdminCompanies.js index 35c160c..1f60652 100644 --- a/Pman.Tab.AdminCompanies.js +++ b/Pman.Tab.AdminCompanies.js @@ -37,6 +37,7 @@ Pman.Tab.AdminCompanies = new Roo.XComponent({ var MODULE = this; return { xtype : 'NestedLayoutPanel', + background : true, region : 'center', title : _this._strings['edefbda3a2bdd979e42d8944b7325b79'] /* Companies */, xns : Roo,