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