CGridView:SetNum
The SetNum method assigns a numeric value to a grid cell.
CGridView:SetNum( nCol, nRow, nValue )
Where nCol, and nRow are the coordinates of the cell to set.
Where nValue is the numeric value to assign to the specified cell.
The following script sets the cell contents of (column 5, row 10) to the value -27.52:
|
-- attach a grid on the Mira desktop |
|
-- set the numeric value in cell (5,10) |
CGridView class, GetNum, SetStr, SetVal
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.