You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Tables often require a lot of space to be rendered. This tip shows how to reduce the demand of space.
Tables often require a lot of space to be rendered. Definition list allow a more compact presentation of information. But for tabular data with more than two columns, the table is typically the right choice. Tto reduce the amount of required space, the values of more than one property can be rendered in one column.
This tip shows how to do this.
Display Table Macro
The Display Table Macro allows to render matching documents in rows of a table. It also allows to select the properties to render in table columns.
Select: Name, Level of Experience|, Expected Duration|
Since version 2.3 of the projectdoc Toolbox, the rendering of columns can be configured by a template. For this example we decide to render the Level of Experience and the Expected Duration properties together in one column.
Name, #Requirements{${Level of Experience} (${Expected Duration})}
The template for the column is marked by a hashmark (#) followed by the name of the column. The template for rendering values is enclosed in curly braces.
Resources
Information on related topics.