I am working on a flex application where I need to transfer data between two datagrids. Well, I have two datagrids in my application. The behaviour should be when I select a row in one datagrid and click on a button the row should get transferred to another datagrid. I am able to add that item to the dataprovider of corresponding datagrid, but the view is not getting updated (I am not able to see that row).
Can someone help me in this respect.
Thanks in advance,
Nirmal Kumar Bhogadi.
You can do it by using Bindable property for the flex.
public var dpArrayColl:ArrayCollection; //dataprovider for 2nd datagrid
set this the DataProvider for your 2nd array. On click of button update dpArrayColl. DataGrid 2 will be updated.