SelectedRows

Apr 14, 2009 at 5:38 AM
Hi,

I was trying to use grid1.selection.selectedrows to get an array of selected rows back for Copy/Paste new rows, but I couldn't find this property/method in the latest SourceGrid. (version 4)
Can someone please point me to right direction, example code will be very much appreciated. Thank you.

Kevin
Apr 14, 2009 at 6:47 AM
grid1.Selection.GetRanges()
Apr 15, 2009 at 4:45 AM
Thanks Lafriks,

But there's no grid1.Selection.GetRanges() either. However, I found grid1.Selection.IsSelectedRow() so I loop through the whole grid1.RowsCount to get the selected rows. Got what I set out to do. Thank you very much.

Kevin