Hi Friedrich,
Thank you
for your interest in Syncfusion products.
We have
analyzed your query and you can achieve your requirement by using the following
code snippet.
Code snippet[C#]:
grid.Model.SelectedRanges.Add(GridRangeInfo.Row(rowindex));
grid.Model.Grid.InvalidateCell(GridRangeInfo.Row(rowindex));
|
We have
prepared a sample based on this and it can be download from the following
location.
Sample Location: http://www.syncfusion.com/downloads/Support/DirectTrac/102493/GridDataControlSample1122105268.zip
Note:
1.
Run
the sample.
2.
Click
the button AddSelectedRange button to select the first record from group.
And you
can map the recordindex and rowindex by using the following code snippet.
Code Snippet[C#]:
//record index from the rowindex int recordindex = grid.Model.ResolveIndexToRecordPosition(rowindex); //rowindex from the recordindex int rowindex = grid.Model.ResolvePositionToIndex(recordindex); |
Please let
us know if you have any questions.
Regards,
Raja sekar.G