tblITableEditor SetCellData

Sets a string or expression on the selected cell.

Syntax

tblITableEditor_handle SetCellData

cellName cellData

Application

Tcl Query

Inputs

cellName
The name of the cell. For example, A1.
cellData
A string or expression.

Example

set t [hw::GetT]
set activetableHandle [hwi GetActiveClientHandle ch$t]
$activetableHandle SetCellData A1 "Max"
$activetableHandle SetCellData A2 {max(p1w1c1.y)}
puts "Data in cell A1: [$activetableHandle GetCellData A1]" 
puts "Data in cell A2: [$activetableHandle GetCellData A2]"
puts "Value in cell A2: [$activetableHandle GetCellValue A2]"
$activetableHandle ReleaseHandle

Errors

Returns success(0) or an error code.