View Full Version : [CLOSED] Item Selector
CanopiusApplications
Jun 24, 2014, 4:47 PM
Does the item selector have any itemadded or itemremoved events?
I want to be able to respond immediately to changes to either the selected or unselected items.
Ta,
D
CanopiusApplications
Jun 24, 2014, 5:00 PM
No biggy as will probably use this route as I think it fits better for how I want it to work.
http://examples2.ext.net/#/DragDrop/Grid/Grid_to_Grid/
Daniil
Jun 24, 2014, 11:02 PM
Hi @CanopiusApplications,
Please clarify has the problem been resolved?
CanopiusApplications
Jun 25, 2014, 9:49 AM
Hi D
Yes as I am going to use a different method although it would still be nice to know if the Item Selector itemadd / itemremoved as asked in the first post.
D
Hi @CanopiusApplications,
Please clarify has the problem been resolved?
Daniil
Jun 25, 2014, 5:40 PM
There is an ItemSelector's Change event. I think it is a way to go.
<ext:ItemSelector runat="server">
<Listeners>
<Change Handler="console.log(item /* that is an ItemSelector, instance */, newValue, oldValue);" />
</Listeners>
</ext:ItemSelector>
CanopiusApplications
Jun 25, 2014, 5:44 PM
Thanks D
I will give it a go when I get a mo. I think I tried the change event but for some reason could not get it to work.
Either way just close the call as I have it working how I want using multiple grids.
Ta,
D
There is an ItemSelector's Change event. I think it is a way to go.
<ext:ItemSelector runat="server">
<Listeners>
<Change Handler="console.log(item /* that is an ItemSelector, instance */, newValue, oldValue);" />
</Listeners>
</ext:ItemSelector>
Powered by vBulletin® Version 4.2.3 Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.