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.
CGridView:SetNumRows( nRows )
Where nRows is the number of rows for the grid.
The following script sets the number of rows in a grid window:
|
-- attach a grid on the Mira desktop |
|
-- sets the number of rows to 100 |
CGridView class, SetNumCols, AddSheet, GetNumRows
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.