forked from mapfish/mapfish-print
-
Notifications
You must be signed in to change notification settings - Fork 9
Group Rendering In Attribute Blocks
mbarto edited this page May 3, 2016
·
1 revision
Attribute blocks now support grouping, by a specific attribute. Rows should be sorted by that attribute for grouping to work (no automatic sort is accomplished by the printing library).
To identify the grouping attribute, use the groupBy property.
Each group can be prefixed by a title, using the groupTitle property. You can specify any block in the groupTitle property, to render any kind of content as a title.
You can also skip table header using the includeHeader flag (true by default).
Finally you can force a page break before any new group, using the groupOnNewPage flag.