PDA

View Full Version : Combo box get multiselected id ??



hasimseo
5 Jun 2012, 7:06 AM
Hi i ve use a combobox that have multiselect property. i want to get selected items ids.
How can i do this. ? the attachment img. is below
35966

var myList=Ext.create('Ext.form.ComboBox', { id:'myListId',
store:myStore,
queryMode: 'local',
displayField: 'name',
valueField: 'id',
multiSelect:true,
width:210,
labelWidth:100
});

hasimseo
5 Jun 2012, 8:04 AM
i ve find solution ...
it work as single selection.
we get vals as array with getSubmitValue() and getValue() ...