tblITableEditor GetCellsHavingData

Returns a string containing a list of cell names that have been assigned with a string or an expression.

Syntax

tblITableEditor_handle GetCellsHavingData

Application

HyperWorks Tcl Query

Description

Queries for the list of cell names that have been assigned with a string or an expression. Returns a list of cell names. For example, A1 A2.

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]"
puts "Cells having data are: [$activetableHandle GetCellsHavingData]"
$activetableHandle ReleaseHandle

Errors

None.