Threaded View
-
6 Nov 2011 6:59 AM #1
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.
-
Best Answer Posted by skirtle
Something a bit like this:
or this:Code:combo.select(combo.getStore().collect(combo.valueField));
Code:combo.setValue(combo.getStore().collect(combo.valueField));


Reply With Quote