tblITableEditor GetCellValue

Returns the string or evaluated expression present in the queried cell.

Syntax

tblITableEditor_handle GetCellValue cellName

Application

Tcl Query

Description

Returns the string or evaluated expression present in the queried cell.

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.