{% set header_with_space %}
{% set cells %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: '',
header: true,
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'Column 1',
header: true,
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'Column 2',
header: true,
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'Column 3',
header: true,
} only %}
{% endset %}
{% include '@bolt-elements-table/table-row.twig' with {
content: cells,
} only %}
{% endset %}
{% set row1_with_header %}
{% set cells %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'Row 1',
header: true
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'R1C1',
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'R12',
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'R1C3',
} only %}
{% endset %}
{% include '@bolt-elements-table/table-row.twig' with {
content: cells,
} only %}
{% endset %}
{% set row2_with_header %}
{% set cells %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'Row 2',
header: true
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'R2C1',
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'R2C2',
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'R2C3',
} only %}
{% endset %}
{% include '@bolt-elements-table/table-row.twig' with {
content: cells,
} only %}
{% endset %}
{% set row3_with_header %}
{% set cells %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'Row 3',
header: true
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'R3C1',
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'R32',
} only %}
{% include '@bolt-elements-table/table-cell.twig' with {
content: 'R3C3',
} only %}
{% endset %}
{% include '@bolt-elements-table/table-row.twig' with {
content: cells,
} only %}
{% endset %}
{% include '@bolt-elements-table/table.twig' with {
full_width: true,
header: {
content: header_with_space
},
body: {
content: [
row1_with_header,
row2_with_header,
row3_with_header
],
},
} only %}