This version is out of date, covering development from v7.0.0 to v7.5.6. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox 7 Icon

TableExpression


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute Read-Only? 

Attribute Intrinsic? 

Attribute First Added: 

Attribute Altered: 

 action   [other action-type attributes]

 (not set - empty string)

 Map   [other Map Group attributes]

 Action code

 No

 No

 No

 Baseline

 


Expression for display of tabular information in map container icons.

Displayed item is for the container's child notes; descendants are not included.

For example, if $TableExpression is

 $Name+"|"+$WordCount

Tinderbox will draw a two-column table containing the $Name and $WordCount of the first few children of the container. The "|" character (often called a vertical bar or pipe) separates the columns of the table.

Optional column headings can be specified via $TableHeading.

The expression code may be conditional. This lists all children with $Name and $Sibling order data displayed:

if($Prototype != "Attributes"){$Name+"|"+$SiblingOrder} 

This conditional version ignores any children that are agents:

if(!$AgentQuery){$Name+"|"+$SiblingOrder} 

This version only lists items of prototype type "Event":

if($Prototype += "Event"){$Name+"|"+$SiblingOrder}