1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Pman.Tab.AdminNotifyRecur = new Roo.XComponent({
6 part : ["Admin","NotifyRecur"],
7 order : '800-Pman.Tab.AdminNotifyRecur',
9 parent : 'Pman.Tab.AdminWatchNotify',
10 name : "Pman.Tab.AdminNotifyRecur",
20 title : "core_notify_recur",
23 tableName : 'core_notify_recur',
27 activate : function() {
30 _this.grid.footer.onClick('first');
41 //_this.dialog = Pman.Dialog.FILL_IN
42 if (_this.panel.active) {
43 this.footer.onClick('first');
46 rowdblclick : function (_self, rowIndex, e)
48 if (!_this.dialog) return;
49 _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {
50 _this.grid.footer.onClick('first');
54 autoExpandColumn : 'person_id_name',
60 sortInfo : { field : 'person_id_name', direction: 'ASC' },
65 url : baseURL + '/Roo/core_notify_recur.php'
70 totalProperty : 'total',
93 'name': 'max_applied_dt',
100 'dateFormat': 'Y-m-d'
103 'name': 'last_applied_dt',
105 'dateFormat': 'Y-m-d'
132 'name': 'last_event_id',
143 xtype: 'PagingToolbar',
147 displayMsg : "Displaying core_notify_recur{0} - {1} of {2}",
148 emptyMsg : "No core_notify_recur found"
152 xtype: 'ColumnModel',
154 dataIndex : 'person_id_name',
157 renderer : function(v,x,r) {
158 return String.format('{0} <a href="mailto:{1}">{1}</a>', v,r.data.person_id_email);
162 xtype: 'ColumnModel',
166 dataIndex : 'dtstart',
167 renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
170 xtype: 'ColumnModel',
175 renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
178 xtype: 'ColumnModel',
180 dataIndex : 'last_applied_dt',
181 header : 'Last Notification created',
183 renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
186 xtype: 'ColumnModel',
191 renderer : function(v) { return String.format('{0}', v); }
194 xtype: 'ColumnModel',
199 renderer : function(v) { return String.format('{0}', v); }
202 xtype: 'ColumnModel',
204 dataIndex : 'freq_day',
207 renderer : function(v) { return String.format('{0}', v); }
210 xtype: 'ColumnModel',
212 header : 'Freq hour',
214 dataIndex : 'freq_hour',
215 renderer : function(v) { return String.format('{0}', v); }
218 xtype: 'ColumnModel',
223 renderer : function(v,x,r) { return String.format('{1}:{0}', v,r.data.ontable); }
226 xtype: 'ColumnModel',
228 dataIndex : 'method',
231 renderer : function(v) { return String.format('{0}', v); }