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",
34 "|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}",
35 "|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"
38 "autoExpandColumn": "remarks",
45 "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}"
47 "*prop": "dataSource",
50 "|sortInfo": "{ field : 'person_name', direction: 'ASC' }",
57 "|url": "baseURL + '/Roo/Events.php'",
62 "xtype": "JsonReader",
63 "totalProperty": "total",
67 "|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]"
73 "xtype": "PagingToolbar",
76 "displayMsg": "Displaying Events{0} - {1} of {2}",
77 "emptyMsg": "No Events found",
81 "xtype": "ColumnModel",
82 "header": "Event when",
84 "dataIndex": "event_when",
85 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
90 "*prop": "colModel[]",
91 "dataIndex": "person_id_name",
92 "header": "Person name",
94 "xtype": "ColumnModel",
95 "|renderer": "function(v) { return String.format('{0}', v); }",
99 "*prop": "colModel[]",
100 "dataIndex": "action",
103 "xtype": "ColumnModel",
104 "|renderer": "function(v) { return String.format('{0}', v); }",
108 "*prop": "colModel[]",
109 "dataIndex": "ipaddr",
112 "xtype": "ColumnModel",
113 "|renderer": "function(v) { return String.format('{0}', v); }",
117 "xtype": "ColumnModel",
120 "dataIndex": "remarks",
121 "|renderer": "function(v) { return String.format('{0}', v); }",
123 "*prop": "colModel[]"