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",
74 "|xns": "Roo.Toolbar",
81 "cls": "x-btn-text-icon",
82 "|icon": "Roo.rootURL + 'images/default/tree/leaf.gif'",
84 "|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"
90 "cls": "x-btn-text-icon",
91 "|icon": "rootURL + '/Pman/templates/images/trash.gif'",
94 "|click": "function()\n{\n Pman.genericDelete(_this, 'Person'); \n}\n "
101 "xtype": "ColumnModel",
105 "|renderer": "function(v) { return String.format('{0}', v); }",
107 "*prop": "colModel[]"
110 "xtype": "ColumnModel",
113 "dataIndex": "office_id",
114 "|renderer": "function(v) { return String.format('{0}', v); }",
116 "*prop": "colModel[]"
119 "xtype": "ColumnModel",
123 "|renderer": "function(v) { return String.format('{0}', v); }",
125 "*prop": "colModel[]"
128 "xtype": "ColumnModel",
131 "dataIndex": "phone",
132 "|renderer": "function(v) { return String.format('{0}', v); }",
134 "*prop": "colModel[]"
137 "xtype": "ColumnModel",
141 "|renderer": "function(v) { return String.format('{0}', v); }",
143 "*prop": "colModel[]"
146 "xtype": "ColumnModel",
149 "dataIndex": "email",
150 "|renderer": "function(v) { return String.format('{0}', v); }",
152 "*prop": "colModel[]"
155 "xtype": "ColumnModel",
158 "dataIndex": "company_id",
159 "|renderer": "function(v) { return String.format('{0}', v); }",
161 "*prop": "colModel[]"
164 "xtype": "ColumnModel",
168 "|renderer": "function(v) { return String.format('{0}', v); }",
170 "*prop": "colModel[]"
173 "xtype": "ColumnModel",
176 "dataIndex": "active",
177 "|renderer": "function(v) { return String.format('{0}', v); }",
179 "*prop": "colModel[]"
182 "xtype": "ColumnModel",
185 "dataIndex": "remarks",
186 "|renderer": "function(v) { return String.format('{0}', v); }",
188 "*prop": "colModel[]"
191 "xtype": "ColumnModel",
194 "dataIndex": "passwd",
195 "|renderer": "function(v) { return String.format('{0}', v); }",
197 "*prop": "colModel[]"
200 "xtype": "ColumnModel",
203 "dataIndex": "owner_id",
204 "|renderer": "function(v) { return String.format('{0}', v); }",
206 "*prop": "colModel[]"
209 "xtype": "ColumnModel",
213 "|renderer": "function(v) { return String.format('{0}', v); }",
215 "*prop": "colModel[]"
218 "xtype": "ColumnModel",
219 "header": "No reset sent",
221 "dataIndex": "no_reset_sent",
222 "|renderer": "function(v) { return String.format('{0}', v); }",
224 "*prop": "colModel[]"
227 "xtype": "ColumnModel",
228 "header": "Action type",
230 "dataIndex": "action_type",
231 "|renderer": "function(v) { return String.format('{0}', v); }",
233 "*prop": "colModel[]"
236 "xtype": "ColumnModel",
239 "dataIndex": "project_id",
240 "|renderer": "function(v) { return String.format('{0}', v); }",
242 "*prop": "colModel[]"