Results 1 to 5 of 5

Thread: Ext.MessageBox.promptCombo, .promptRadio, .promptCheckbox

  1. #1
    Sencha Premium User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891

    Default 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.zip

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    Thanks for the continued contribution!
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3

  4. #4
    Ext JS Premium Member Joyfulbob's Avatar
    Join Date
    Feb 2008
    Posts
    176

    Default

    Nice!

    I know of several apps we can use this!

  5. #5

    Default

    thank you, your work help me

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •