Skip to main content
Skip table of contents

Rows

Structure

{mainTitle}

{subTitle}

row header name

importance secondary

importance primary

importance primary level 1

importance primary level 2

importance primary level 3

importance secondary

importance secondary

importance secondary

Behavior

Rows are produced similarly to row groups. Their cells are copied and filled in with the actual content.

The width of the row header column can be set in the abstract report with the VerticalTableNode.rowHeaderWidth property (in percent). If it isn’t set, the width of the column in the table style is used. The width in the table style has to be in percent as well.

There is support for styling the top, middle and bottom rows differently. For this one has to specify the same importance three times. During production the top style is used for the first row, the middle row is used for all rows in between and the bottom style for the last row. If there is only one row in the abstract report, the top style is used. If there are only two rows in the abstract report, the top and bottom styles are used. Please note: Zebra striping is not supported.

Another feature is support for hierarchical rows. For this one can add specify for which level in the rows tree the style should be applied, beginning with level 1.

The row headers can also optionally have a column header. Its style is specified in the cell left to the usual column styles. The header itself can be set with the VerticalTableNode.rowHeaderName property. The content can be a HTML formatted value.

The row header column itself is only produced if at least one row header is defined.

If VerticalTableNode.keepWithPrevious is set to true, the current row is kept on the same page as the previous one. If the previous row is the only row next to the row group header, both the row group header and the previous row are moved onto the next page. keepWithPrevious only applies to rows in the same row group.

Examples

Example 1: Showing a simple case with one style per importance

template-rows_simple_case.docx output-rows_simple_case.docx abstract-report-rows_simple_case.json

Example 2: Showing hierarchical rows

template-rows_hierarchies.docx abstract-report-rows_hierarchies.json output-rows_hierarchies.docx

Example 3: Showing top, middle and bottom styles

template-rows_top_middle_bottom.docx abstract-report-rows_top_middle_bottom.json output-rows_top_middle_bottom.docx

Example 4: Showing a combination of hierarchical rows and top, middle, bottom styles

output-rows_hierarchies_and_topmiddlebottom_combined.docx abstract-report-rows_hierarchies_and_topmiddlebottom_combined.json template-rows_hierarchies_and_topmiddlebottom_combined.docx

Example 5: Showing how to use rowHeaderName

abstract-report-rows_row_header_name.json output-rows_row_header_name.docx template-rows_row_header_name.docx

Example 6: Showing how to use rowHeaderWidth

output-rows_row_header_width.docx abstract-report-rows_row_header_width.json template-rows_row_header_width.docx

Example 7: Showing the behavior when no row headers are defined

abstract-report-rows_no_row_headers.json output-rows_no_row_headers.docx template-rows_no_row_headers.docx

Example 8: Showing how keepWithPrevious works

output-keepwithprevious_simple.pdf template-keepwithprevious_simple.docx output-keepwithprevious_simple.docx abstract-report-keepwithprevious_simple.json

Example 9: Showing how keepWithPrevious works if there is only a single row on the previous page

output-keepwithprevious_single_row_kept_with_rowgroup.pdf template-keepwithprevious_single_row_kept_with_rowgroup.docx output-keepwithprevious_single_row_kept_with_rowgroup.docx abstract-report-keepwithprevious_single_row_kept_with_rowgroup.json

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.