Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleProperties


Section
titleColumn Names

List of column names to render.

If blank the columns from the tables are used.


Section
titleDiscard

Allows to discard list items or rows.

emptyDiscard empty list items or table rows without cell content.
no-linksDiscard list items or table rows if there is not at least one link.
no-itemsDiscard list items or table rows if link has class projectdoc-no-docs
fullDiscard list items or table rows if fully set (all cells have content).
partialDiscard table rows if there is at least one empty cell.  
is-checkedDiscard list items or table rows if a task list with at least one checked checkbox is found.
is-not-checkedDiscard list items or table rows if a task list with at least one checkbox is found that is not checked.


Content Marker
iddiscard-use-cases

The values empty, no-links, no-items, and no-links + no-items are typically used for definition, numbered, and bullet lists.

The values empty, full, and partial are typically used for tables. The value partial only has meaning for tables.

The value can be controlled by the space property

Static Document Link
documentTable Merger Macro Param Discard
. The space property 
Static Document Link
documentTable Merger override empty Items
 overrides the macro configuration.

Example Box
titleFilter Examples with Discard

For examples please refer to the tip Filter on Table Rows.


Version Box
since2.5

The parameter is available since version 2.5.


Content Marker
iddiscard-since-4-5


Version Box
titleNew Values
since4.5

The values full and partial are supported since version 4.5.

The values is-checked and is-not-checked are supported since version 4.6.




Section
titleHeader Translations

Comma-separated list of key list-value pairs to map columns from tables. This allows to rename columns to match.

Format: k1=v1|v2, k2=v3.


Section
titleCSS Class

Set to the table or definition list.


...

Section
titleMacro Body

Tables or lists (dl, ul, ol) found in the body of the macro are merged.

Only tables or lists of the same kind are merged. If a collection of one kind is found, collection of other types are not merged. For instance you cannot merge tables with definition lists. If at least one table is found, lists of any kind are not merged.


Section
titleDetails

Since lists may be nested, it is important to only use list roots when merging lists. Therefore lists are required to be siblings to be merged successfully. If lists are nested within other containers, the root containers can be marked with 

Display Property
add-linktrue
documentprojectdoc-table-merger-root
property-nameIdentifier
 to select the contained list.

This is especially useful when the 

Static Document Link
documentContent Marker Macro
 is used to make parts of lists only available for users with specified permissions or being members of specified groups.

Version Box
since4.9

This feature is available since version 4.9.



Section
indextrue
titleRelated Macros


Tour
render-as-definition-listtrue
replace-title-with-nametrue


TitleShort Description
Table Set Macro
Display Table Macro



...