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

Get current record in grid

(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

4 Replies

AD Administrator Syncfusion Team August 8, 2005 02:39 PM

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


DC dan carr August 8, 2005 02: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


DC dan carr August 8, 2005 02:41 PM

Sorry meant -- GridDataBoundGrid


AD Administrator Syncfusion Team August 8, 2005 02:52 PM

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

Loader.
Live Chat Icon For mobile
Up arrow icon