This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox 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

 Already in v5.0.0

 


This holds an expression for display of tabular information in map container icons about 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} 


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Attributes : System Attribute List : TableExpression