Using Flex 3.3 we listen for item click events on a DataGrid. The event handler method is being called most of the time but occasionally the event is 'skipped'. The DataGrid itself surely handled the event since the selection changes.
Basically what we need is to create a component containing several datagrids that 'share' the selection i.e. when selecting an item on DG A all other DGs become unselected.
Any ideas anyone?
You can do this by setting the selectedIndex of all the datagrids except the one clicked to -1 right.So why should you want to have to create it as a component?.I think such a component would require very much development effort.
The component is not the issue... You can assume some container with 2 grids in it. I still need to know when grid A is clicked so I can unselect from grid B.
The developer handling this ended up solving the issue by listening change instead of itemclick. The questions still remains, why isn't the DataGrid dispatching all the item click events that occur?
Is there some sequence that causes it to skip the event? Could you be
mousing down in one row and lifting in another?