Navigation: Function Reference > User Script Functions > Grid.setCellData()

Grid.setCellData()

Top  Previous  Next

Grid.setCellData( aRow, aCol: Integer; aData: Variant );

 

Sets the data of a single cell in the ScanExpert Viewer Grid where aRow is the row occupied in the grid by the driving symbol, aCol is the column in which the cell is located, and aData is the actual data to be displayed.

 

aData can be a String, Integer, or Double value. Use this procedure to set the cell data for a specific cell in the ScanExpert Viewer Grid. Whenever possible you should instead use the Grid.return() function to return all display data in one block as it is much more efficient. Also, the Grid.setCellData() function cannot return streams while the more generic Grid.return() function can.

 

Parameters

 

aRow

integer value offset into the grid. use getRow() function to determine row.

aCol

integer value offset into the grid.

aData

variant value representing the data to display.

 

See also:

 

Grid.setCellBgColor()

Grid.setCellFgColor()

Grid.setCellFontSize()

Grid.return()