CGridView:SetCol
The SetCol method saves the contents of a 1-dimensional table to a column of the CGridView.
CGridView:SetCol( tbl, nCol )
CGridView:SetCol( tbl, nCol, nRowMin )
CGridView:SetCol( tbl, nCol, nRowMin, nRowMax )
Where tbl
is a 1-dimensional array with values that are numbers. containing
the values to set.
Where nCol
is the column to set. If no row range is specified, the column
values are set starting in row 1.
nRowMin is
the first row to set and nRowMax is the
last row to set.
The following script sets the cells in column 4 starting with row 2:
|
-- create CGridView with properties in GridParams |
|
-- create a table to save into column 4. |
|
-- sets the contents of column 4 |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.