"|xns": "Roo"
},
{
- "|xns": "Roo",
- "xtype": "GridPanel",
- "title": "Companies",
- "fitToframe": true,
- "fitContainer": true,
- "tableName": "Companies",
- "background": true,
- "region": "center",
"listeners": {
"|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
},
+ "background": true,
+ "fitContainer": true,
+ "fitToframe": true,
+ "region": "center",
+ "tableName": "Companies",
+ "title": "Companies",
+ "xtype": "GridPanel",
+ "|xns": "Roo",
"items": [
{
"listeners": {
"|render": "function() \n{\n _this.grid = this; \n _this.dialog = Pman.Dialog.Companies;\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), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n",
- "rowclick": "function (_self, rowIndex, e)\n{\n try { Pman.Tab.Office.paging.onClick('refresh'); } catch(e) {}\n}"
+ "rowclick": "function (_self, rowIndex, e)\n{\n try { Pman.Tab.AdminOffice.paging.onClick('refresh'); } catch(e) {}\n}"
},
"*prop": "grid",
"autoExpandColumn": "name",
"items": [
{
"listeners": {
- "load": "function (_self, records, options)\n{\n try {\n Pman.Tab.Office.grid.footer.onClick('refresh');\n } catch (e) {}\n}"
+ "load": "function (_self, records, options)\n{\n try {\n Pman.Tab.AdminOffice.grid.footer.onClick('refresh');\n } catch (e) {}\n}"
},
"*prop": "dataSource",
"remoteSort": true,