-
3 Nov 2011 8:56 AM #1
Answered: MessageBox without Buttons or progress bar?
Answered: MessageBox without Buttons or progress bar?
Hi,
is it possible to display a Message Box without buttons?
creates one button :/Code:Ext.Msg.show({ buttons: false });
I want to show this button before I send an Ajax request and hide it as soon as i get a response.
An alternative would be a progress bar or something similar.
-- testvogel
-
Best Answer Posted by mitchellsimoensshows without any buttonsCode:
Ext.Msg.show({ title : 'Hi', msg : 'Hello', buttons : [] });
-
3 Nov 2011 10:24 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
- Answers
- 3113
shows without any buttonsCode:Ext.Msg.show({ title : 'Hi', msg : 'Hello', buttons : [] });Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
3 Nov 2011 10:33 AM #3
Thank you very much,
this is working but you should update the documentation:
buttons : Object/Array (optional)A button config object or Array of the same(e.g., Ext.MessageBox.OKCANCEL or {text:'Foo', itemId:'cancel'}), or false to not show any buttons.
Defaults to: false
Because of that I thought that false is working.
-
3 Nov 2011 10:34 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
- Answers
- 3113
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote