PDA

View Full Version : MultiSelect Event Handler?



parsbin
19 Apr 2011, 1:14 AM
Hi
how can i handle events on Multiselect xtype?
example:
i want send value of Multiselect selected item by ajax when selecting that.


xtype: 'multiselect',
fieldLabel: 'Multiselect<br />(Required)',
name: 'multiselect',
width: 250,
height: 200,
allowBlank:false,
store: [[123,'One Hundred Twenty Three'],
['1', 'One'], ['2', 'Two'], ['3', 'Three'], ['4', 'Four'], ['5', 'Five'],
['6', 'Six'], ['7', 'Seven'], ['8', 'Eight'], ['9', 'Nine']],
tbar:[{
text: 'clear',
handler: function(){
msForm.getForm().findField('multiselect').reset();
}
}],
ddReorder: true

janhov
21 Sep 2011, 5:44 AM
Add a change listener.

janhov
21 Sep 2011, 6:16 AM
I would also like to do things on dblclick, but I don't really know how to implement it. Anyone?