Table( )

Parent Previous Next


Creates a formated table based on the defined header row and body row(s).


Table([<object selector>, ] <header row>, <body rows>)


Object selector – if specified, the table will be generated with one set of <body rows> generated for each object returned by the object selector. The attribute selectors in the body rows will operate over each returned object while generating the row.

Header row – a set of comma separated list of content items that form the header, enclosed in curly braces { }.

Body row – one or more sets of comma separated content items that form each body row, enclosed in curly braces { }. For a table generated with an object selector, any attribute selectors in the body row will operate over each returned object. For a table generated without an object selector, the attribute selectors will operate on the currently scoped object. Note that after each row you can include .Where() – this allows you to specify a predicate that will hide the row if it evaluates to false.


The below example generates a four column table with a row for each child for the object ‘WidgetFields’:


{ 'Name', 'Data Type', 'Precision', 'Scale' },







The below example generates a two column table operating on the currently scoped object that contains four rows:


{ 'Property', 'Value'},

{'Widget Type', @PropertyValue('WidgetType')}

{'Description', @PropertyValue('Description')}

{'Connection Name', @PropertyValue('ConnectionName')}.Where(@PropertyValue('ConnectionName') != '')

{'Connection Name', @PropertyValue('ConnectionValue')}.Where(@PropertyValue('ConnectionValue') != '')