PDA

View Full Version : Events and listener



Shining77
11 Nov 2010, 12:41 AM
I am using the Ext.ux.form.ItemSelector which uses itself an Ext.ux.form.MultiSelect. By the initComponent-method there is implemented the following among others:

this.addEvents({
...
'change' : true
});

Now I want to build a listener as override for the MultiSelect in the ItemSelector like this in a test:

this.toMultiselect.addListener('change', function() {
alert("ffgfd");
});

But when the values in the MultiSelect change I don't get the alert.

Can anybody help me here?