Pman.Tab.AdminCompanies.bjs
[Pman.Admin] / Pman.Tab.AdminCompanies.bjs
index f3cc90c..391e5db 100644 (file)
@@ -1,9 +1,9 @@
 {
-    "id": "roo-file-1",
+    "id": "roo-file-141",
     "name": "Pman.Tab.AdminCompanies",
     "parent": "Pman.Tab.Admin",
     "title": "Pman.Tab.AdminCompanies",
-    "path": "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminCompanies.bjs",
+    "path": "/home/chris/gitlive/Pman.Admin/Pman.Tab.AdminCompanies.bjs",
     "items": [
         {
             "region": "center",
@@ -23,6 +23,9 @@
                         },
                         {
                             "*prop": "south",
+                            "height": 150,
+                            "split": true,
+                            "titlebar": true,
                             "xtype": "LayoutRegion",
                             "|xns": "Roo"
                         },
@@ -42,8 +45,8 @@
                                 {
                                     "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.AdminOffice.paging.onClick('refresh'); } catch(e) {}\n}"
+                                        "|rowdblclick": "function (_self, rowIndex, e)\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {\n        _this.grid.footer.onClick('first');\n    }); \n    \n    \n}\n",
+                                        "rowclick": "function (_self, rowIndex, e)\n{\n  try { Pman.Tab.AdminOffice.grid.footer.onClick('refresh'); } catch(e) {}\n}"
                                     },
                                     "*prop": "grid",
                                     "autoExpandColumn": "name",
                                             "sortable": true,
                                             "width": 90,
                                             "xtype": "ColumnModel",
-                                            "|renderer": "function (v,x ,r) {\n    return Pman.Dialog.Companies.comptypeListToString(r.data.isOwner ? 'OWNER' : v);\n}",
+                                            "|renderer": "function (v,x ,r) {\n    //return Pman.Dialog.Companies.comptypeListToString(r.data.isOwner ? 'OWNER' : v);\n    return v;\n}",
                                             "|xns": "Roo.grid"
                                         },
                                         {
             ]
         }
     ],
-    "permname": "",
+    "permname": "Admin.Companies",
     "modOrder": "030"
 }
\ No newline at end of file