CGridView:GotoCell


The GotoCell method makes a specified grid cell the active cell.

Syntax

CGridView:GotoCell( nCol, nRow )

bullet.gif    Where nCol, and nRow are the coordinates of the target cell.

The picture below shows a simple grid created by a script and filled with data. The GotoCell method was used to highlight the cell at column 5, row 3:

Example

The following script sends the grid cursor to the cell at (column 5, row 10):

G = attach_gridview()

-- attach a grid on the Mira desktop

G:GotoCell(5,3)

-- select cell (5,3)

Related Topics

CGridView class


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.