We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Hierarchical Grid, Finding GridRangeInfo

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.

2 Replies

AD Administrator 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.


MA Mathew June 20, 2005 12:54 PM

Clay, Thank you for your help. Your suggestions led me to get what I want. Mathew

Loader.
Live Chat Icon For mobile
Up arrow icon