AD
Administrator
Syncfusion Team
October 6, 2003 10:08 PM UTC
The call to GetSelectedRows will return ranges of type GridRangeType.Row. The GetNextCell type works only with GridRangeType.Cell. What you should do is before the call to
if ( info.GetFirstCell ...
you should call
info.ExpandRange(1, 1, RowCount, ColCount);
This will convert the Row range into a Cell range that you can loop through.
Stefan