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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hierarchical Grid, Finding GridRangeInfo

Thread ID:





30495 Jun 17,2005 08:52 PM Jun 20,2005 01:54 PM Windows Forms 2
Tags: GridControl
Asked On June 17, 2005 08:52 PM

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.

Administrator [Syncfusion]
Replied On June 17, 2005 09: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.

Replied On June 20, 2005 01:54 PM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon