CGridView:SetNumCols
The SetNumCols method sets the number of columns in the grid. This method updates the initial grid property defined by the value of GridParams.nCols.
CGridView:SetNumCols( nCols )
Where nCols is the number of columns for the grid.
The following script sets the number of columns in a grid window:
|
-- attach a grid on the Mira desktop |
|
-- sets the number of columns to 15 |
CGridView class, SetNumRows, AddSheet, GetNumCols
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.