From: Edward Date: Mon, 4 May 2015 05:40:11 +0000 (+0800) Subject: Pman.Dialog.CoreNotifyRecur.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=6ccfa7dbd0831b452d9d93795010d9e82e342d8b Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index 654eefc0..7ed6d7a5 100644 --- a/Pman.Dialog.CoreNotifyRecur.bjs +++ b/Pman.Dialog.CoreNotifyRecur.bjs @@ -405,6 +405,15 @@ } ] }, + { + "xtype" : "ColumnModel", + "width" : 75, + "header" : "Last Sent", + "$ renderer" : "function(v) { return String.format('{0}', v ? v : 'never'); }", + "$ xns" : "Roo.grid", + "* prop" : "cm[]", + "dataIndex" : "last_event_id" + }, { "xtype" : "ColumnModel", "header" : "Last Sent", diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index d89c3264..db2ad32b 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -703,6 +703,17 @@ Pman.Dialog.CoreNotifyRecur = { xtype : 'ColumnModel' } ], + cm : [ + { + '|xns' : 'Roo.grid', + dataIndex : 'last_event_id', + header : _this._strings['b26686c0a708faee42861d8b905e882e'], + renderer : function(v) { return String.format('{0}', v ? v : 'never'); }, + width : 75, + xns : Roo.grid, + xtype : 'ColumnModel' + } + ], listeners : { afteredit : function (e) {