PDA

View Full Version : Need help with qtip for tools



extjsquery
16 Mar 2011, 1:18 AM
Hi,
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):
tools:[
{id:'refresh', qtip: text:lastRefreshTimestamp , handler: function(event, toolEl, panel){
frames['mainFrame'].loadedGadgets = false;
alert((frames['mainFrame'].lastRefreshTimestamp).toUTCString());
:
:
:
]
Here in the alert the timestamp comes up fine but does not reflect in qtip

Please provide me some inputs