-
26 Mar 2012 8:41 PM #1
How to create an auto close window / message box?
How to create an auto close window / message box?
Hi everyone.
I just want to create that messages box like these(the little ones after the real messages box).:
http://dev.sencha.com/deploy/ext-4.0...x/msg-box.html
In my real application I'm using the Wait Dialog, and after it is completed, I want to display a notification message like "Message Sent" that closes after 1 or 2 seconds, without buttons.
I tried with:
Ext.example.msg('Done', 'Your fake data was saved!');
but that didn't work. (Uncaught TypeError: Cannot call method 'msg' of undefined
(anonymous function))
Any suggestions?
-
26 Mar 2012 9:13 PM #2
It's not part of the core library, you'll need to pull in the js/css files into your app to use it.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!


Reply With Quote