How to copy data from one list to another programmatically in Flex
Posted on 2009-03-29
My question is this.
I have a datagrid which is bound to an XML collection.
I have a blank list.
I have drag enabled on the data grid and drop enabled on the list.
I am able to drag and drop between the lists (this is working fine).
What I am trying to replicate is the scenario where you have a button ( > ) between the lists which will copy the highlighted record to the list as if you had dragged and dropped it.
Hope this makes sense, let me know if you need anything clarifying.
Thanks in advance,