-
4 Jan 2013 9:00 AM #1
Ext.MessageBox.promptCombo, .promptRadio, .promptCheckbox
Ext.MessageBox.promptCombo, .promptRadio, .promptCheckbox
prompts.gif
I added the ability to also have comboxes, checkboxes or radiobuttons to choose from where you usually would use Ext.MessageBox.prompt.
The additional functions are
Ext.MessageBox.promptCombo
Ext.MessageBox.promptCheckbox
Ext.MessageBox.promptRadio
Calling them is easy as you would do it the usual way with .prompt. Just add 2 Parameters: scope and a configObject (according to the desired widget: comboconfig for promptcombox like you would pass to a combobox, radiogroup config for promptradio and checkboxgroup-config for promptcheckbox.
Find a zip attached with a full working demo file (drop it where ext-all-debug.js resides) and a diff for ext-all-debug.js (3.4.0). As Ext.Messagebox.prompt could not be overriden the usual way you need to modify the library.
i could upload patched versions of ext-all and ext-all-debug , but i am not sure, if that is allowed by sencha
promptcombo_radio_checkbox.zipExtensions:
Ext.ux.DatePickerPlus (Multimonth,Multiselect,...)
Ext.ux.menu.StoreMenu - Ajax Store as menu-item config
Extended Window - Aero Shadows, nested grayscaled modal windows
Ext.MessageBox.promptCombo/promptRadio/promptCheckbox
Ext.ux.plugin.triggerfieldTooltip (for Comboboxes, Datefields...)
Ext.util.MD5
Ext.util.Utf8 (encode/decode)
Ext.util.base64 (encode/decode)
Using:
ExtJS 3.4.1.1/4.2
XPsp3/W7sp1
IE8/9/10
FF 20
Chrome 26
-
7 Jan 2013 9:35 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
Thanks for the continued contribution!
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.
-
4 Apr 2013 1:59 AM #3
The patch even works with 3.4.1.1
Extensions:
Ext.ux.DatePickerPlus (Multimonth,Multiselect,...)
Ext.ux.menu.StoreMenu - Ajax Store as menu-item config
Extended Window - Aero Shadows, nested grayscaled modal windows
Ext.MessageBox.promptCombo/promptRadio/promptCheckbox
Ext.ux.plugin.triggerfieldTooltip (for Comboboxes, Datefields...)
Ext.util.MD5
Ext.util.Utf8 (encode/decode)
Ext.util.base64 (encode/decode)
Using:
ExtJS 3.4.1.1/4.2
XPsp3/W7sp1
IE8/9/10
FF 20
Chrome 26
-
8 Apr 2013 4:50 AM #4
Nice!
I know of several apps we can use this!


Reply With Quote