3 "name": "Pman.Dialog.AdminEventLog",
6 "path": "/home/alan/gitlive/Pman.Admin/Pman.Dialog.AdminEventLog.bjs",
11 "xtype": "LayoutDialog",
16 "xtype": "LayoutRegion",
21 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
27 "tableName": "Events",
35 "autoExpandColumn": "person_name",
38 "|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}",
39 "|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"
44 "*prop": "dataSource",
47 "|sortInfo": "{ field : 'person_name', direction: 'ASC' }",
54 "|url": "baseURL + '/Roo/Events.php'",
59 "xtype": "JsonReader",
60 "totalProperty": "total",
64 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_name',\n 'type': 'string'\n },\n {\n 'name': 'event_when',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'ipaddr',\n 'type': 'string'\n },\n {\n 'name': 'on_id',\n 'type': 'int'\n },\n {\n 'name': 'on_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_name',\n 'type': 'string'\n },\n {\n 'name': 'person_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'person_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'person_id_email',\n 'type': 'string'\n },\n {\n 'name': 'person_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_role',\n 'type': 'string'\n },\n {\n 'name': 'person_id_active',\n 'type': 'int'\n },\n {\n 'name': 'person_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'person_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'person_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'person_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'person_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_dt',\n 'type': 'date'\n },\n {\n 'name': 'person_id_firstname',\n 'type': 'string'\n },\n {\n 'name': 'person_id_lastname',\n 'type': 'string'\n }\n]"
70 "xtype": "PagingToolbar",
73 "displayMsg": "Displaying Events{0} - {1} of {2}",
74 "emptyMsg": "No Events found",
78 "xtype": "ColumnModel",
79 "header": "Event when",
81 "dataIndex": "event_when",
82 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
87 "*prop": "colModel[]",
88 "dataIndex": "person_id_name",
89 "header": "Person name",
91 "xtype": "ColumnModel",
92 "|renderer": "function(v) { return String.format('{0}', v); }",
96 "*prop": "colModel[]",
97 "dataIndex": "action",
100 "xtype": "ColumnModel",
101 "|renderer": "function(v) { return String.format('{0}', v); }",
105 "*prop": "colModel[]",
106 "dataIndex": "ipaddr",
109 "xtype": "ColumnModel",
110 "|renderer": "function(v) { return String.format('{0}', v); }",
114 "xtype": "ColumnModel",
117 "dataIndex": "remarks",
118 "|renderer": "function(v) { return String.format('{0}', v); }",
120 "*prop": "colModel[]"