Start page
Start page

Start page / Template development / Template syntax / System objects / #table

#tableAvailable from FirstSpirit Version 4.0

The system object: #table is available both in the format templates with the abbreviations table, tr and td and in the Table function. This system object can be used to determine information on a table which is entered and maintained with the input component: CMS_INPUT_DOMTABLE or with so-called Inline tables (CMS_INPUT_DOM with table="yes").

The general syntax is:

$CMS_VALUE(#table.METHOD)$

The individual method invocations are given in the following table:

Invocation

Meaning

Return data type

#table.cols

Returns the number of columns in a table. The counting begins with 1.

Integer

#table.lastCol

Returns the position of the last column in a table. The counting begins with 0.

Integer

#table.lastRow

Returns the position of the last row in a table. The counting begins with 0.

Integer

#table.rows

Returns the number of rows in a table. The counting begins with 1.

Integer

#table.style
Available from FirstSpirit Version 4.2.439

Returns the table format template

TableFormatTemplate

#table.style.uid Available from FirstSpirit Version 4.2.439

Returns the UID of the table format template

String

   

© 2005 - 2014 e-Spirit AG | All rights reserved. | Last change: 2011-12-06