This content has been marked as final. Show 5 replies
I don't think that its possible without iterating through all the cells ( if selection mode is multipleCells) or iterating through all the rows ( if selection mode is multipleRows).
Thanks for the response. I don't mind iterating through all of the cells/rows, is there a way to do that with ActionScript?
You can set the selectedIndices property of the advancedDataGrid to equal an array of row indexes you want selected. For instance, if you have 4 rows you would set selectedIndicies = [0,1,2,3] to select all four.
You can build the indexes with a function below:
Yes you can do it in actionscript as well.
if selectionMode is set to multipleCells then:
Section A in Attached Code
if selectedMode is set to multipleRows then there are two ways to do it.
1- the solution given by the Bryan Dresselhaus in his last post.
2- Section B in Attached Code
Bryan and Mirza,
Thanks for the help. That worked.