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

Getting the Current Row of a DataBoundGrid

Thread ID:





12434 Mar 30,2004 11:58 AM UTC Mar 30,2004 12:53 PM UTC WinForms 1
Tags: GridControl
Paul McNally
Asked On March 30, 2004 11:58 AM UTC

How do I get the index of the row in my grid that has the arrow in the row header. Thanks.

Administrator [Syncfusion]
Replied On March 30, 2004 12:53 PM UTC

If the row has a currentcell, you can use; int rowIndex = grid.CurrentCell.RowIndex; If not, then you can get the binder position, and then the row index from that; int pos = this.grid.Binder.Position; int rowIndex = this.grid.Binder.PositionToRowIndex(pos);


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

Live Chat Icon For mobile
Live Chat Icon