CGridView:SetNumCols CGridView:SetRect

CGridView:SetNumRows


The SetNumRows method sets the number of rows in the grid. This method updates the initial grid property defined by the value of GridParams.nRows.

Syntax

CGridView:SetNumRows( nRows )

bullet.gif    Where nRows is the number of rows for the grid.

Example

The following script sets the number of rows in a grid window:

G = attach_gridview()

-- attach a grid on the Mira desktop

G:SetNumRows( 100 )

-- sets the number of rows to 100

Related Topics

CGridView class

SetNumCols

AddSheet

GetNumRows


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