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 "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
75 "cls": "x-btn-text-icon",
78 "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
84 "cls": "x-btn-text-icon",
85 "|icon": "Roo.rootURL + 'images/default/tree/leaf.gif'",
87 "|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"
93 "cls": "x-btn-text-icon",
94 "|icon": "rootURL + '/Pman/templates/images/trash.gif'",
97 "|click": "function()\n{\n Pman.genericDelete(_this, 'Person'); \n}\n "
104 "xtype": "ColumnModel",
108 "|renderer": "function(v) { return String.format('{0}', v); }",
110 "*prop": "colModel[]"
113 "xtype": "ColumnModel",
116 "dataIndex": "office_id",
117 "|renderer": "function(v) { return String.format('{0}', v); }",
119 "*prop": "colModel[]"
122 "xtype": "ColumnModel",
126 "|renderer": "function(v) { return String.format('{0}', v); }",
128 "*prop": "colModel[]"
131 "xtype": "ColumnModel",
134 "dataIndex": "phone",
135 "|renderer": "function(v) { return String.format('{0}', v); }",
137 "*prop": "colModel[]"
140 "xtype": "ColumnModel",
144 "|renderer": "function(v) { return String.format('{0}', v); }",
146 "*prop": "colModel[]"
149 "xtype": "ColumnModel",
152 "dataIndex": "email",
153 "|renderer": "function(v) { return String.format('{0}', v); }",
155 "*prop": "colModel[]"
158 "xtype": "ColumnModel",
161 "dataIndex": "company_id",
162 "|renderer": "function(v) { return String.format('{0}', v); }",
164 "*prop": "colModel[]"
167 "xtype": "ColumnModel",
171 "|renderer": "function(v) { return String.format('{0}', v); }",
173 "*prop": "colModel[]"
176 "xtype": "ColumnModel",
179 "dataIndex": "active",
180 "|renderer": "function(v) { return String.format('{0}', v); }",
182 "*prop": "colModel[]"
185 "xtype": "ColumnModel",
188 "dataIndex": "remarks",
189 "|renderer": "function(v) { return String.format('{0}', v); }",
191 "*prop": "colModel[]"
194 "xtype": "ColumnModel",
197 "dataIndex": "passwd",
198 "|renderer": "function(v) { return String.format('{0}', v); }",
200 "*prop": "colModel[]"
203 "xtype": "ColumnModel",
206 "dataIndex": "owner_id",
207 "|renderer": "function(v) { return String.format('{0}', v); }",
209 "*prop": "colModel[]"
212 "xtype": "ColumnModel",
216 "|renderer": "function(v) { return String.format('{0}', v); }",
218 "*prop": "colModel[]"
221 "xtype": "ColumnModel",
222 "header": "No reset sent",
224 "dataIndex": "no_reset_sent",
225 "|renderer": "function(v) { return String.format('{0}', v); }",
227 "*prop": "colModel[]"
230 "xtype": "ColumnModel",
231 "header": "Action type",
233 "dataIndex": "action_type",
234 "|renderer": "function(v) { return String.format('{0}', v); }",
236 "*prop": "colModel[]"
239 "xtype": "ColumnModel",
242 "dataIndex": "project_id",
243 "|renderer": "function(v) { return String.format('{0}', v); }",
245 "*prop": "colModel[]"