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 |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.