PDA

View Full Version : Ext.List multiselect



killfill
28 Mar 2011, 10:45 AM
Hello all,

I want to let the user select multiple options in a Ext.List.
Im doing the following:


Ext.regApplication({
launch: function() {

Ext.regModel('Contact', {
fields: ['name']
});
Ext.regStore('contacts', {
model: 'Contact',
data: [
{name: '1'},
{name: '2'},
{name: '3'},
{name: '4'},
{name: '5'},
{name: '6'},
]
});
new Ext.List({
fullscreen: true,
store: 'contacts',
itemTpl: '{name}',
multiSelect: true
});
}
});

I expected that enabling the multiSelect config would let you select multiple items, but its not.
Is it a bug or am i missing something to make it work?

Thanks!

pcaviness
31 Mar 2011, 6:28 AM
I am having the same problem

pcaviness
31 Mar 2011, 6:44 AM
Found the answer here http://www.sencha.com/forum/showthread.php?116336-FIXED-580-List-multiSelect-and-allowDeselect-(singleSelect)-not-working&highlight=multiselect