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}"
77 "toggleGroup": "appm",
83 "toggle": "function (_self, pressed)\n{\n if (pressed) {\n _this.grid.filter = 'S';\n }\n}"
87 "toggleGroup": "appm",
94 "xtype": "ColumnModel",
98 "|renderer": "function(v) { return String.format('{0}', v); }",
100 "*prop": "colModel[]"
103 "xtype": "ColumnModel",
106 "dataIndex": "office_id",
107 "|renderer": "function(v) { return String.format('{0}', v); }",
109 "*prop": "colModel[]"
112 "xtype": "ColumnModel",
116 "|renderer": "function(v) { return String.format('{0}', v); }",
118 "*prop": "colModel[]"
121 "xtype": "ColumnModel",
124 "dataIndex": "phone",
125 "|renderer": "function(v) { return String.format('{0}', v); }",
127 "*prop": "colModel[]"
130 "xtype": "ColumnModel",
134 "|renderer": "function(v) { return String.format('{0}', v); }",
136 "*prop": "colModel[]"
139 "xtype": "ColumnModel",
142 "dataIndex": "email",
143 "|renderer": "function(v) { return String.format('{0}', v); }",
145 "*prop": "colModel[]"
148 "xtype": "ColumnModel",
151 "dataIndex": "company_id",
152 "|renderer": "function(v) { return String.format('{0}', v); }",
154 "*prop": "colModel[]"
157 "xtype": "ColumnModel",
161 "|renderer": "function(v) { return String.format('{0}', v); }",
163 "*prop": "colModel[]"
166 "xtype": "ColumnModel",
169 "dataIndex": "active",
170 "|renderer": "function(v) { return String.format('{0}', v); }",
172 "*prop": "colModel[]"
175 "xtype": "ColumnModel",
178 "dataIndex": "remarks",
179 "|renderer": "function(v) { return String.format('{0}', v); }",
181 "*prop": "colModel[]"
184 "xtype": "ColumnModel",
187 "dataIndex": "passwd",
188 "|renderer": "function(v) { return String.format('{0}', v); }",
190 "*prop": "colModel[]"
193 "xtype": "ColumnModel",
196 "dataIndex": "owner_id",
197 "|renderer": "function(v) { return String.format('{0}', v); }",
199 "*prop": "colModel[]"
202 "xtype": "ColumnModel",
206 "|renderer": "function(v) { return String.format('{0}', v); }",
208 "*prop": "colModel[]"
211 "xtype": "ColumnModel",
212 "header": "No reset sent",
214 "dataIndex": "no_reset_sent",
215 "|renderer": "function(v) { return String.format('{0}', v); }",
217 "*prop": "colModel[]"
220 "xtype": "ColumnModel",
221 "header": "Action type",
223 "dataIndex": "action_type",
224 "|renderer": "function(v) { return String.format('{0}', v); }",
226 "*prop": "colModel[]"
229 "xtype": "ColumnModel",
232 "dataIndex": "project_id",
233 "|renderer": "function(v) { return String.format('{0}', v); }",
235 "*prop": "colModel[]"