I am doing mxml flex 4 wep application i am using 2 forms, each form i am using datagrid,i am struck in this place,
my proplem is, in first form i am having a grid with 10rows and columns,i am having 10 records and one move button. Next form also having a datagrid,
IF i am doing multi select(2records) from the first datagrid and click move button means that records will show in the second datagrid and will also delete
from the first data grid again it wont show the records in same datagrid.
how to do this?
any useful suggession or snippet code.
thanks in advance,
One solution could be:
Source to data grid is an Array collection
1.> In first data grid extraxct the rows using, grid.selecteditem
2.>Add it to the arraycollection attached to next grid, use arraycollection addItemat api if rows needed to ve added at particular index
3.>Use removeitemat api to remove the items from arraycollection attached to first datagrid
4.>call invalidate on bothe of the datagrids
thanks for the reply chandanpandey.
i am working based on ur commands.
If any other solution for this please tel guys.