This version is out of date, covering development from v8.0.0 to v8.x.x. 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 v8 Icon

TableExpression


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute UI-configurable? 

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

 Yes

 No

 No

 Baseline

 


Expression for display of summary displays 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} 

$TableExpression can be set for the current container via the Summary Table Properties pop-over.