#table
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. | |
#table.lastCol | Returns the position of the last column in a table. The counting begins with 0. | |
#table.lastRow | Returns the position of the last row in a table. The counting begins with 0. | |
#table.rows | Returns the number of rows in a table. The counting begins with 1. | |
#table.style | Returns the table format template | |
#table.style.uid | Returns the UID of the table format template | |