3 "name": "Pman.Tab.XtupleSales",
5 "title": "Pman.Tab.XtupleSales",
6 "path": "/home/alan/gitlive/web.xtuple/Pman/Xtuple/Pman.Tab.XtupleSales.bjs",
10 "|activate": "function () {\n \n \n if (typeof(Pman.Login) != 'undefined') {\n var db = baseURL.split('.php').shift().substr(-2,2)\n \n this.setTitle('Sales (' + Pman.Login.authUser.dbname +')');\n \n }\n \n (function() {\n var c= _this.layout.getRegion('center');\n c.showPanel(c.getActivePanel());\n \n }).defer(100);\n}"
14 "xtype": "NestedLayoutPanel",
18 "xtype": "BorderLayout",
23 "xtype": "LayoutRegion",
26 "title": "last edited",
32 "xtype": "LayoutRegion",
39 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
45 "tableName": "events",
52 "|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}",
53 "|rowdblclick": "function (_self, rowIndex, e)\n{\n _this.dialog = Pman.Dialog.XtupleSalesOrder;\n \n data = this.getDataSource().getAt(rowIndex).data;\n \n _this.dialog.show( \n { cohead_id : data.on_id_cohead_id } , \n function() {\n _this.grid.footer.onClick('first');\n Pman.Tab.XtupleSalesOrder.grid.footer.onClick('refresh');\n \n }\n ); \n}\n"
56 ".builderCfg": "{\"cols\":[{\"table\":\"events\",\"column\":\"on_id\",\"columnshort\":\"on_id\",\"ctype\":\"int4\",\"desc\":\"\",\"use\":1,\"use_ex\":1,\"title\":\"\"}],\"cols_ex\":[\"on_id\"],\"table\":\"events\",\"xtype\":\"GridPanel\",\"|xns\":\"Roo\"}",
57 "autoExpandColumn": "on_id",
64 "beforeload": "function (_self, options)\n{\n options.params._join = 'cohead';\n options.params.on_table = 'cohead';\n options.params._join_cols = 'cohead_number,cohead_id';\n options.params.sort = '';\n options.params.person_id = Pman.Login.authUser.id;\n \n /// on_table=cohead\n // &_join=cohead\n // &_join_cols=cohead_number\n // &_columns=on_id_cohead_number,event_when << this is ignored at present.\n // max(event_when) is not supported... by any query yet..\n \n}"
66 "*prop": "dataSource",
67 ".builderCfg": "{\"cols\":[{\"table\":\"events\",\"column\":\"on_id\",\"columnshort\":\"on_id\",\"ctype\":\"int4\",\"desc\":\"\",\"use\":1,\"use_ex\":1,\"title\":\"\"}],\"cols_ex\":[\"on_id\"],\"table\":\"events\",\"xtype\":\"GridPanel\",\"|xns\":\"Roo\"}",
76 "|url": "baseURL + '/Roo/events.php'",
81 "xtype": "JsonReader",
82 "totalProperty": "total",
84 ".builderCfg": "{\"cols\":[{\"table\":\"events\",\"column\":\"on_id\",\"columnshort\":\"on_id\",\"ctype\":\"int4\",\"desc\":\"\",\"use\":1,\"use_ex\":1,\"title\":\"\"}],\"cols_ex\":[\"on_id\"],\"table\":\"events\",\"xtype\":\"GridPanel\",\"|xns\":\"Roo\"}",
87 "|fields": "[\n {\n 'name': 'on_id',\n 'type': 'int'\n }\n]"
97 "xtype": "PagingToolbar",
101 "*prop": "colModel[]",
102 ".builderCfg": "{\"table\":\"events\",\"column\":\"on_id\",\"columnshort\":\"on_id\",\"ctype\":\"int4\",\"desc\":\"\",\"use\":1,\"use_ex\":1,\"title\":\"\"}",
103 "dataIndex": "on_id_cohead_number",
106 "xtype": "ColumnModel",
107 "|renderer": "function(v) { return String.format('{0}', v); }",