tblITableEditor GetCellData

Returns the string or expression present in the queried cell.

Syntax

tblITableEditor_handle GetCellData cellName

Application

Tcl Query

Inputs

cellName
The name of the cell. For example, "A1".

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

None.