I had to add a refresh button to one of the panels so I added "tools" for the same with "id=refresh". Now I need to populate the value of qtip at runtime. I have to assign to a variable. Please let me know how can I do it. I am fairly new to Extjs. I have to make some enhancements to the existing Extjs in the code

Code snippet(part of tools definition):
{id:'refresh', qtip: text:lastRefreshTimestamp , handler: function(event, toolEl, panel){
frames['mainFrame'].loadedGadgets = false;
Here in the alert the timestamp comes up fine but does not reflect in qtip

Please provide me some inputs