This content has been marked as final. Show 3 replies
Your error comes from using a click event. If you change it to an itemClick event, this fixes the problem. The click event is dispatched when anything in the control is clicked: an item, scrollBar or header. The itemClick event will only fire when an item in the dataGrid is clicked.
If you remove the change event from your dgselectedRecords DataGrid, you can dragMove from the right DataGrid to the left. If you need to have the change event, you will need to alter your initDGalternateRecords function so that it does not clear the alternateRecords ArrayCollection. Can you explain what you want to have happen for this change event?
Well you are in a tough spot, but do keep the cool and try to follow up in the forums, I am sure someone in here will be able to help you buddy. In the meantime, do enlighten us with what exactly your goal is on the click?
Ah, itemClick. Thanks! That did it. I had the change event in there originally for something else and neglected to remove it. Is not necessary for this.