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.

Getting row number in gridgroupinggrid

Thread ID:





36560 Nov 2,2005 11:53 AM Nov 2,2005 12:52 PM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On November 2, 2005 11:53 AM

I have the record number from the filteredrecords collection and need to get the table row nubmer. I thought the sourceindex on the record would be it but it doesn''t appear to be the correct nubmer. Is there a way from either the record or the filtered record index to get the row number.

Administrator [Syncfusion]
Replied On November 2, 2005 12:52 PM

Try this. Get the record from the Filteredrecords collection, and then use: int position = grid.Table.Records.IndexOf(record); to get the position in the data source.


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.

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.