Table

The table component allows you to add tables within your report.

Schema

Below is an example of the schema required to define a table.

{
    "type": "Table",
    "options": {
        "title": "Title for table",
        "headings": ["Heading one", "Heading Two", "Heading Three"],
        "rows": [
            ["Content", "Content", "Content"],
            ["Content", "Content", "Content"],
            ["Content", "Content", "Content"]
        ]
    }
}

Description

Key Description
title The title of the table. Optional.
headings The headings of the table.
rows The rows of the table. Each array inside the array must have the same number of elements, and must be as many elements as in the headings key.
striped Enables alternate background colours on the rows of the table. Optional.

Example

Missing something?

Hybiscus is continuously improving and adding new features. If you think we are missing a critical feature, please do not hesitate to contact us and offer your feedback at info@hybiscus.dev