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

Getting the Current Row of a DataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

12434 Mar 30,2004 11:58 AM UTC Mar 30,2004 12:53 PM UTC Windows Forms 1
loading
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);

CONFIRMATION

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

;