I am using GridBoundRecordState(RowIndex) to get my row and then use a
DataView and DataRow to get my corresponding DataRow for a grid row in a hierarchical grid. That all works great, thanks for the info.
On my grid I am doing a DragOver with the mouse.
A record in the grid is made up of multiple rows. I would like to find the GridRangeInfo of the row I am dragging over in my Hierarchical grid? Any hints would be helpful.
ADAdministrator Syncfusion Team June 17, 2005 08:05 PM
The grid.PointToRowCol will give you a rowIndex in the grid from which you can get the GridBoundRecordState.
The GridBoundRecordState.RowIndexInRecord gives you the row index in the record (this tells you how many grid rows above is the start of this record.)
The GridHierarchyLevel.RowCountPerRecord value tells you how many rows there are per record.
From this information, I think you can get the GridRangeInfo you are seeking.
MAMathewJune 20, 2005 12:54 PM
Thank you for your help. Your suggestions led me to get what I want.