3 "name": "Pman.Tab.AdminProjectMembers",
6 "path": "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminProjectMembers.bjs",
14 "tableName": "Person",
18 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
24 "autoExpandColumn": "name",
27 "|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}",
28 "|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"
33 "*prop": "dataSource",
36 "|sortInfo": "{ field : 'name', direction: 'ASC' }",
43 "|url": "baseURL + '/Roo/Person.php'",
48 "xtype": "JsonReader",
49 "totalProperty": "total",
53 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'office_id',\n 'type': 'int'\n },\n {\n 'name': 'name',\n 'type': 'string'\n },\n {\n 'name': 'phone',\n 'type': 'string'\n },\n {\n 'name': 'fax',\n 'type': 'string'\n },\n {\n 'name': 'email',\n 'type': 'string'\n },\n {\n 'name': 'company_id',\n 'type': 'int'\n },\n {\n 'name': 'role',\n 'type': 'string'\n },\n {\n 'name': 'active',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'passwd',\n 'type': 'string'\n },\n {\n 'name': 'owner_id',\n 'type': 'int'\n },\n {\n 'name': 'lang',\n 'type': 'string'\n },\n {\n 'name': 'no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'action_type',\n 'type': 'string'\n },\n {\n 'name': 'project_id',\n 'type': 'int'\n },\n {\n 'name': 'office_id_id',\n 'type': 'int'\n },\n {\n 'name': 'office_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'office_id_name',\n 'type': 'string'\n },\n {\n 'name': 'office_id_address',\n 'type': 'string'\n },\n {\n 'name': 'office_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'office_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'office_id_email',\n 'type': 'string'\n },\n {\n 'name': 'office_id_role',\n 'type': 'string'\n },\n {\n 'name': 'company_id_code',\n 'type': 'string'\n },\n {\n 'name': 'company_id_name',\n 'type': 'string'\n },\n {\n 'name': 'company_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'company_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'company_id_address',\n 'type': 'string'\n },\n {\n 'name': 'company_id_tel',\n 'type': 'string'\n },\n {\n 'name': 'company_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'company_id_email',\n 'type': 'string'\n },\n {\n 'name': 'company_id_id',\n 'type': 'int'\n },\n {\n 'name': 'company_id_isOwner',\n 'type': 'int'\n },\n {\n 'name': 'company_id_logo_id',\n 'type': 'int'\n },\n {\n 'name': 'company_id_background_color',\n 'type': 'string'\n },\n {\n 'name': 'company_id_comptype',\n 'type': 'string'\n },\n {\n 'name': 'company_id_url',\n 'type': 'string'\n },\n {\n 'name': 'company_id_main_office_id',\n 'type': 'int'\n },\n {\n 'name': 'company_id_created_by',\n 'type': 'int'\n },\n {\n 'name': 'company_id_created_dt',\n 'type': 'date'\n },\n {\n 'name': 'company_id_updated_by',\n 'type': 'int'\n },\n {\n 'name': 'company_id_updated_dt',\n 'type': 'date'\n },\n {\n 'name': 'company_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'project_id_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_name',\n 'type': 'string'\n },\n {\n 'name': 'project_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'project_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_code',\n 'type': 'string'\n },\n {\n 'name': 'project_id_active',\n 'type': 'int'\n },\n {\n 'name': 'project_id_type',\n 'type': 'string'\n },\n {\n 'name': 'project_id_client_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_team_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_file_location',\n 'type': 'string'\n },\n {\n 'name': 'project_id_open_date',\n 'type': 'date'\n },\n {\n 'name': 'project_id_open_by',\n 'type': 'int'\n },\n {\n 'name': 'project_id_close_date',\n 'type': 'date'\n },\n {\n 'name': 'project_id_countries',\n 'type': 'string'\n },\n {\n 'name': 'project_id_languages',\n 'type': 'string'\n },\n {\n 'name': 'project_id_agency_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_name',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_email',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_role',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_active',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_project_id',\n 'type': 'int'\n }\n]"
59 "xtype": "PagingToolbar",
62 "displayMsg": "Displaying Person{0} - {1} of {2}",
63 "emptyMsg": "No Person found",
73 "toggle": "function (_self, pressed)\n{\n if (pressed) {\n _this.grid.filter = 'S';\n }\n _this.grid.footer.onClick('first');\n}"
77 "toggleGroup": "appm",
83 "toggle": "function (_self, pressed)\n{\n if (pressed) {\n _this.grid.filter = 'O';\n }\n _this.grid.footer.onClick('first');\n}"
87 "toggleGroup": "appm",
93 "toggle": "function (_self, pressed)\n{\n if (pressed) {\n _this.grid.filter = 'A';\n }\n _this.grid.footer.onClick('first');\n}"
97 "toggleGroup": "appm",
104 "xtype": "ColumnModel",
108 "|renderer": "function(v) { return String.format('{0}', v); }",
110 "*prop": "colModel[]"
113 "xtype": "ColumnModel",
116 "dataIndex": "email",
117 "|renderer": "function(v) { return String.format('{0}', v); }",
119 "*prop": "colModel[]"
122 "*prop": "colModel[]",
123 "dataIndex": "company_id_name",
126 "xtype": "ColumnModel",
127 "|renderer": "function(v) { return String.format('{0}', v); }",
131 "xtype": "ColumnModel",
135 "|renderer": "function(v) { return String.format('{0}', v); }",
137 "*prop": "colModel[]"
140 "xtype": "ColumnModel",
143 "dataIndex": "active",
144 "|renderer": "function(v) { return String.format('{0}', v); }",
146 "*prop": "colModel[]"
149 "xtype": "ColumnModel",
152 "dataIndex": "remarks",
153 "|renderer": "function(v) { return String.format('{0}', v); }",
155 "*prop": "colModel[]"
158 "xtype": "ColumnModel",
161 "dataIndex": "passwd",
162 "|renderer": "function(v) { return String.format('{0}', v); }",
164 "*prop": "colModel[]"
167 "xtype": "ColumnModel",
170 "dataIndex": "owner_id",
171 "|renderer": "function(v) { return String.format('{0}', v); }",
173 "*prop": "colModel[]"
176 "xtype": "ColumnModel",
180 "|renderer": "function(v) { return String.format('{0}', v); }",
182 "*prop": "colModel[]"
185 "xtype": "ColumnModel",
186 "header": "No reset sent",
188 "dataIndex": "no_reset_sent",
189 "|renderer": "function(v) { return String.format('{0}', v); }",
191 "*prop": "colModel[]"
194 "xtype": "ColumnModel",
195 "header": "Action type",
197 "dataIndex": "action_type",
198 "|renderer": "function(v) { return String.format('{0}', v); }",
200 "*prop": "colModel[]"
203 "xtype": "ColumnModel",
206 "dataIndex": "project_id",
207 "|renderer": "function(v) { return String.format('{0}', v); }",
209 "*prop": "colModel[]"