3 "name": "Pman.Dialog.AdminEventLog",
6 "path": "/home/alan/gitlive/Pman.Admin/Pman.Dialog.AdminEventLog.bjs",
10 "title": "Event history",
12 "xtype": "LayoutDialog",
17 "xtype": "LayoutRegion",
22 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
28 "tableName": "Events",
35 "|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}",
36 "|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"
39 "autoExpandColumn": "remarks",
46 "beforeload": "function (_self,o )\n{\n if (!_this.data || !_this.data.on_id) {\n return false;\n }\n o.params.on_table = _this.data.on_table;\n o.params.on_id = _this.data.on_id;\n}"
48 "*prop": "dataSource",
51 "|sortInfo": "{ field : 'person_name', direction: 'ASC' }",
58 "|url": "baseURL + '/Roo/Events.php'",
63 "xtype": "JsonReader",
64 "totalProperty": "total",
68 "|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]"
74 "xtype": "PagingToolbar",
77 "displayMsg": "Displaying Events{0} - {1} of {2}",
78 "emptyMsg": "No Events found",
82 "xtype": "ColumnModel",
83 "header": "Event when",
85 "dataIndex": "event_when",
86 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
91 "*prop": "colModel[]",
92 "dataIndex": "person_id_name",
93 "header": "Person name",
95 "xtype": "ColumnModel",
96 "|renderer": "function(v) { return String.format('{0}', v); }",
100 "*prop": "colModel[]",
101 "dataIndex": "action",
104 "xtype": "ColumnModel",
105 "|renderer": "function(v) { return String.format('{0}', v); }",
109 "*prop": "colModel[]",
110 "dataIndex": "ipaddr",
113 "xtype": "ColumnModel",
114 "|renderer": "function(v) { return String.format('{0}', v); }",
118 "xtype": "ColumnModel",
121 "dataIndex": "remarks",
122 "|renderer": "function(v) { return String.format('{0}', v); }",
124 "*prop": "colModel[]"
132 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
134 "*prop": "buttons[]",