PDA

View Full Version : Panel Title with Timer until next refresh



OpsTelServices
4 Feb 2013, 12:51 PM
I am currently working with portal portlets within ExtJS4.1. My business partner has asked it would be possible to place a "Timer" or "Countdown" in the title of each of the panels to know when the next refresh is going to occur. All portlets have a different refresh rate depending on the data within.

Any ideas if this is even possible? Someway to change the title of the each unique portlet/panel within the viewport.

Current TaskRunner


var task = { run: function() {
var store = Ext.data.StoreManager.lookup('cwaStatusStore');
store.load();
},
interval: CWA.Utilities.refreshRateChart()
};
var runner = new Ext.util.TaskRunner();

scottmartin
5 Feb 2013, 8:40 AM
Moved to Q&A forums.

Scott.