You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

projectdoc Toolbox

Tables often require a lot of space to be rendered. This tip shows how to reduce the demand of space.

Audience
Level of Experience
Expected Duration
15 min
Type

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})}


Resources

Information on related topics.

Document Properties
Properties are metadata that can be added to every projectdoc document. If you require a set of metadata for each instance of a document type, you should write your own doctype.
Display Table Macro
Lists references to projectdoc documents in a table. Allows to select document properties for columns. Also non-list representations are provided.
Display Document Properties Macro
Renders a template with property references.


  • No labels