PDA

View Full Version : Datagrid problem: multiple selection



goukilord10
12-27-2007, 11:31 AM
Come on, no one go to the ams6 board or what ?
posted this in ams6 board and no answer for pretty simple question.


i have trouble getting the selected cells when i do a multiple selection
for a single cell i use DataGrid.GetFocusCell
but how do i get all the selected (highlighted) cells when multiple selection is enabled ?

bule
12-27-2007, 12:12 PM
You must iterate all the cells using for loop and DataGrid.IsCellSelected action.

Dermot
12-27-2007, 12:35 PM
Bule is right, you have to loop through all the cells.


no answer for pretty simple question.
If it is simple then why didn't you take 5 minutes to look at the help file? That's where I found the answer. What "no one read help files or what?".

goukilord10
12-28-2007, 06:36 AM
If it is simple then why didn't you take 5 minutes to look at the help file? That's where I found the answer. What "no one read help files or what?".
i did not find anything about this on the help file. and i still havent found anything :( where exactly did you look ?


You must iterate all the cells using for loop and DataGrid.IsCellSelected action.
Thanks a lot.