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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hierarchical Grid, Finding GridRangeInfo

Thread ID:





30495 Jun 18,2005 12:52 AM UTC Jun 20,2005 05:54 PM UTC WinForms 2
Tags: GridControl
Asked On June 18, 2005 12:52 AM UTC

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 18, 2005 01:05 AM UTC

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 05:54 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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