Mulitple Select or ListBox

  • Is there a ext select that allowas the multiple attribute, aka a listBox widget? Is the grid the closest thing to it?

    Thanks.


  • Another option could be to use a View. It could be a drop in replacement for a multi select. A simple hidden field could be used to serialize/read selections for posting to/reading from the server.

    I was thinking that a multi row select single column GRID might be an option to mimic a multi select SELECT behavior. With GRID3, we would also get the checkbox and this would be a plus. The one thing that I like about using a GRID is that SHFT+ or CTLR+ for contiguous and non-contiguous selections respectively will be nicely supported by the multi select grid.

    Thanks

    -aras


  • http://extjs.com/learn/Extension:Multiselect


  • Nice tj, that's for sharing!


  • No response to the last question, has it been ported?

    Thanks,
    Ben


  • Generally multi-select lists are cumbersome for users to use. It forces them to manage the mouse with one hand while holding down the CTRL key with another, the whole time they're scrolling being sure to not select/unselect anything they don't want selected/unselected. Additionally, they can't see all the selected items at once so it's much more difficult to tell if they have all of the ones selected they wished to have selected. Unless real estate is extremely limited, I would highly recommend using checkboxes.

    Somewhat late to respond on this. I can see how a checkbox solves the issue of holding down CTL or SHFT for multi select. I don't see how checkboxes show all the selected items. Wouldn't the user have to scroll through a div of checkboxes as well? I think many users have gotten comfortable with CTLR & SHFT to do multi selects. I think the multi select should be supported in EXT.


  • for checkboxes in EditorGrids, try this (http://extjs.com/forum/showthread.php?p=51841#post51841)


  • I'll be releasing a Ext.ux.Multiselect this week. Also have a Ext.ux.ItemSelector (two multiselects which you can move items from/to) that supports drag and drop coming later.


  • Generally multi-select lists are cumbersome for users to use. It forces them to manage the mouse with one hand while holding down the CTRL key with another, the whole time they're scrolling being sure to not select/unselect anything they don't want selected/unselected. Additionally, they can't see all the selected items at once so it's much more difficult to tell if they have all of the ones selected they wished to have selected. Unless real estate is extremely limited, I would highly recommend using checkboxes.


  • I'm interesting in those editor with checkboxes too.

    Can anyone provide example ?


  • Another option could be to use a View. It could be a drop in replacement for a multi select. A simple hidden field could be used to serialize/read selections for posting to/reading from the server.


  • If the extension page doesn't say so specifically, the author probably hasn't done it. That's not to say that you couldn't do it with some minor modifications - you'd have to look at the code yourself.


  • Thanks, was waiting for this, now I can finish my project.
    Keep up the good work ;)
    =D>


  • Interesting idea. I'm fairly new to ext js, so it would take me a while to grasp the concelt fully. Would you be able to mock up a demo? I've seen quite a few users on here asking for the same and i'm sure we would really appreciate the assistance :)


  • Sorry to bump this again, but I'm also wanting this functionality. I Need my users to be able to select multiple options from a dynamically loaded list. I'm not 100% against using checkboxes, but I can imagine it being quite cumbersum displaying quite a few on a page. Does anyone have an example of a scrollable checkbox div, mimicking a listbox?

    Green put up a very good case about checlboxes not returning an array

    Checkbox fields are great, but do not behave similarly to a normal HTML select control, i.e. returning an array of checked options for php. I realize one can give the fields the same name and hope for the best, but this seemingly only works for radiofields. Checkboxes instead return something like "ValueName1=on" for each option, instead of a single key name with multiple selected options as the array/delimited value.


  • Generally multi-select lists are cumbersome for users to use. It forces them to manage the mouse with one hand while holding down the CTRL key with another, the whole time they're scrolling being sure to not select/unselect anything they don't want selected/unselected. Additionally, they can't see all the selected items at once so it's much more difficult to tell if they have all of the ones selected they wished to have selected. Unless real estate is extremely limited, I would highly recommend using checkboxes.
    Ok. Is there any implementation of checkbox-array editor for Ext.Grid?


  • Good stuff tjstuart. Just about to downlod now and investigate, thanks again for coding this!


  • Somewhat late to respond on this. I can see how a checkbox solves the issue of holding down CTL or SHFT for multi select. I don't see how checkboxes show all the selected items. Wouldn't the user have to scroll through a div of checkboxes as well? I think many users have gotten comfortable with CTLR & SHFT to do multi selects. I think the multi select should be supported in EXT.

    I agree. The Ctrl+Shift problem can be solved by writing your own handler (e.g. clicking an item just toggles the select-state of it).

    To solve the "what you have selected"-thing I use to have a div with the selected items as text at the right side of the select element. This text representation of the selected items will be synchronized if the selection changes.

    I think Ext should support multiselect as IMHO Ext should provide standard widgets you know from HTML or modern native UIs.


  • I don't know what you mean, but i'm guessing you are talking about something like the Ext.form.ComboBox.


  • May be he mean about equivalent for:



  • No problem. There's a few issues I will iron out today. Check the thread in the User Extensions board for updates.


  • http://extjs.com/learn/Extension:Multiselect

    Has someone ported this to Ext-2.0 yet, or is there another available extension/code for an multiselect for Ext-2.0?


  • I like Jeff's recommendation for using check boxes, however this should be supported IMHO. It's a common enough implementation, although I agree cumbersome, that it should be available/supported in EXT.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Mulitple Select or ListBox , Please add it free.