From: KH Lau Date: Mon, 7 Aug 2017 07:19:39 +0000 (+0800) Subject: Pman.Tab.AdminCompanies.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=0edf352c6a5a4b07e9c7ec1a6ef740e5370ddbd6 Pman.Tab.AdminCompanies.bjs Pman.Tab.AdminCompanies.js --- diff --git a/Pman.Tab.AdminCompanies.bjs b/Pman.Tab.AdminCompanies.bjs index 2d50131..2e765ea 100644 --- a/Pman.Tab.AdminCompanies.bjs +++ b/Pman.Tab.AdminCompanies.bjs @@ -25,8 +25,8 @@ "items" : [ { "region" : "center", - "title" : "Companies", "xtype" : "NestedLayoutPanel", + "title" : "Companies", "$ xns" : "Roo", "items" : [ { @@ -52,9 +52,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 +89,8 @@ "load" : "function (This, o, arg)\n{\n \n}" }, "$ url" : "baseURL + '/Roo/core_company'", - "method" : "GET", "xtype" : "HttpProxy", + "method" : "GET", "$ xns" : "Roo.data", "* prop" : "proxy" }, @@ -228,8 +228,8 @@ }, { "xtype" : "ColumnModel", - "width" : 100, "header" : "Tel", + "width" : 100, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -237,8 +237,8 @@ }, { "xtype" : "ColumnModel", - "width" : 100, "header" : "Fax", + "width" : 100, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -266,8 +266,8 @@ }, { "xtype" : "ColumnModel", - "header" : "Remarks", "width" : 200, + "header" : "Remarks", "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]",