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.

Get current record in grid

Thread ID:

Created:

Updated:

Platform:

Replies:

32820 Aug 8,2005 03:25 PM Aug 8,2005 03:52 PM Windows Forms 4
loading
Tags: GridControl
dan carr
Asked On August 8, 2005 03:25 PM

(1) How do I get the current record (index) in a grid? (2) How do I look up a field value in the grid? i.e. I want to see the column 3 (Last Name) for the 4th record. Thanks, Dan

Administrator [Syncfusion]
Replied On August 8, 2005 03:39 PM

What kind of grid are you using? A GridDataBoundGrid or a GridGroupingControl (or a GridControl)?

dan carr
Replied On August 8, 2005 03:41 PM

Data Bound grid. Found: (Me.grdSecurityDetail.CurrentCell.ColIndex()) and (Me.grdSecurityDetail.CurrentCell.RowIndex()) to get the coordinates. Need a way to check the value

dan carr
Replied On August 8, 2005 03:41 PM

Sorry meant -- GridDataBoundGrid

Administrator [Syncfusion]
Replied On August 8, 2005 03:52 PM

You can get the at a particular row and col using Dim val as Object = me.grid(rowIndex, colIndex).CellValue)

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.

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.

;