3 "name": "Pman.Tab.MTrackMerger",
4 "parent": "Pman.Tab.MTrack",
5 "title": "Pman.Tab.MTrackMerger",
6 "path": "/home/alan/gitlive/Pman.MTrack/Pman.Tab.MTrackMerger.bjs",
11 "xtype": "NestedLayoutPanel",
16 "xtype": "BorderLayout",
22 "xtype": "LayoutRegion",
27 "xtype": "LayoutRegion",
32 "xtype": "LayoutRegion",
49 "baseParams": "{ _tree : 1 }",
50 "requestMethod": "GET",
52 "xtype": "TreeLoader",
53 "|dataUrl": "rootURL + '/MTrack/Merger'",
59 "text": "All Changes",
73 "tableName": "core_enum",
77 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
83 "autoExpandColumn": "etype",
86 "|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}",
87 "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
92 "*prop": "dataSource",
95 "|sortInfo": "{ field : 'etype', direction: 'ASC' }",
100 "xtype": "HttpProxy",
102 "|url": "baseURL + '/Roo/core_enum.php'",
107 "xtype": "JsonReader",
108 "totalProperty": "total",
112 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'etype',\n 'type': 'string'\n },\n {\n 'name': 'name',\n 'type': 'string'\n },\n {\n 'name': 'active',\n 'type': 'int'\n },\n {\n 'name': 'seqid',\n 'type': 'int'\n }\n]"
118 "xtype": "PagingToolbar",
121 "displayMsg": "Displaying core_enum{0} - {1} of {2}",
122 "emptyMsg": "No core_enum found",
132 "|click": "function()\n{\n \n}\n"
134 "cls": "x-btn-text-icon",
137 "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
138 "|xns": "Roo.Toolbar"
143 "cls": "x-btn-text-icon",
144 "|icon": "Roo.rootURL + 'images/default/tree/leaf.gif'",
146 "|click": "function()\n{\n var s = _this.grid.getSelectionModel().getSelections();\n if (!s.length || (s.length > 1)) {\n Roo.MessageBox.alert(\"Error\", s.length ? \"Select only one Row\" : \"Select a Row\");\n return;\n }\n if (!_this.dialog) return;\n _this.dialog.show(s[0].data, function() {\n _this.grid.footer.onClick('first');\n }); \n \n}\n"
148 "|xns": "Roo.Toolbar"
152 "cls": "x-btn-text-icon",
153 "|icon": "rootURL + '/Pman/templates/images/trash.gif'",
156 "|click": "function()\n{\n Pman.genericDelete(_this, 'core_enum'); \n}\n "
158 "|xns": "Roo.Toolbar"
163 "*prop": "colModel[]",
167 "xtype": "ColumnModel",
168 "|renderer": "function(v) { return String.format('{0}', v); }",
172 "xtype": "ColumnModel",
176 "|renderer": "function(v) { return String.format('{0}', v); }",
178 "*prop": "colModel[]"
181 "xtype": "ColumnModel",
184 "dataIndex": "active",
185 "|renderer": "function(v) { return String.format('{0}', v); }",
187 "*prop": "colModel[]"
190 "xtype": "ColumnModel",
193 "dataIndex": "seqid",
194 "|renderer": "function(v) { return String.format('{0}', v); }",
196 "*prop": "colModel[]"