Threaded View

  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
    Webtel is on a distinguished road

      0  

    Exclamation Answered: how to select all items in combo (multiselect:true)

    Answered: how to select all items in combo (multiselect:true)


    how to select all items in the list of combobox? Im looking for something like combo.selectAll().

    multiSelect : Boolean
    If set to true, allows the combo field to hold more than one value at a time, and allows selecting multiple items from the dropdown list.

    select( Object r )
    Selects an item by a Model, or by a key value.

  2. Something a bit like this:

    Code:
    combo.select(combo.getStore().collect(combo.valueField));
    or this:

    Code:
    combo.setValue(combo.getStore().collect(combo.valueField));

Thread Participants: 2

Tags for this Thread