Site Search:
Sign in | Join | Help
4Penny.net

Janus System

All things for all Janus products

Navigate to a specific row in a Janus Grid

To select a row, use the Row property of the grid or use the MoveTo method. i.e.

   'If you know the position of the row to be selected do:
   GridEX1.Row = rowPosition

   'If you have a reference of the datarow you want to select do:
   Dim row As GridEXRow

   row = GridEX1.GetRow(myDataRow)

   if Not (row Is Nothing) Then
      GridEX1.MoveTo(row)
  End If

 When using Row or MoveTo, the control will automatically scroll to show the selected row.

Comments

 

Migue said:

Hi, I'm using Janus GirdEX version 1.0.2627.0 I need to use GridEX1.Row = rowPosition but is not working.

June 6, 2008 4:11 PM

Leave a Comment

(required)  
(optional)
(required)  
Add

About Steve Gray

Steve is a seasoned (translate: old) developer in VB and ASP.NET. He spends most of his time in Dynamics GP, writing custom mods for consulting firms. Crystal reports, eConnect, VS Tools for Dynamics... anything that comes along.