View Full Version : How do I get the value that was set for the status bar defaultText?

14 Jun 2010, 8:23 AM
Playing around with the status bar to update text from a load progress simulation.
The default text is set to Ready.
When simulating loading the text is updated to Loading...
I want to then have the text revert back to what was set in the defaultText property, how do I tell the status bar to display the original default text?

I do not want to hard code it because I would then have 2 locations where the value is set for the base text.

Its a ux.statusBar item so its not in the API. (Correction. It is in the API. But once again on the offline version of API, I am unable to find it. Also, its not loading for me in the online API. http://www.extjs.com/deploy/dev/docs/?class=Ext.StatusBar)