PDA

View Full Version : Ext.ux.form.ItemSelector - Change event does't fire correctly



hieu79vn
23 Jul 2012, 9:31 AM
Hi
I have a problem with item selector that the 'change' event is not fired when moving from 'Available' to 'Selected'. It only raise the change event just until the I on one of the records in the 'Selected' list.

As this thread http://www.sencha.com/forum/showthread.php?155302-ExtJs-4.07-Ext.ux.form.ItemSelector-Change-event-does-t-fire-correctly this problem was fixed but I have downloaded and try the latest version 4.1.1 but I see that the problem is still there.
Do you have any idea?

scottmartin
23 Jul 2012, 4:09 PM
I do not see the problem that you mention. Using drag, button, double click .. it fires each time:



{
xtype: 'itemselector',
itemId: 'managers',
valueField: 'value',
//anchor: '100%',
//height: 300,
flex: 1,
displayField: 'text',
store: ds,
buttons: ['add', 'remove'],
listeners: {
change: function() {
console.log('change');
}
}
}


Scott.