how to get data from a datagrid or list without selection
Posted on 2008-11-13
I have 2 datagrids, the first has items which can be drag&dropped into the second. Now i have 2 problems.
1. how can i get the items from the second grid? in the past i used selectedIndex, but in this case i do not have any item selected, i just need the list of items from the second grid without making a selection.
2. how can i delete the items from the second grid? i tried setting the dataProvider to "" , but an empty row remained at the top.
isn't there any grid.items[x].clear or grid.getItemAt() or grid.items.count or anything similar in actionscript?
any help would be appreciated.