Don't stretch table

Is het possible to only show the first two columns on a part of the page so the table isn’t stretched for the whole width?

{% stripnewlines %}
|Aard voordeel
| Bedrag
| Dit zou niet zichtbaar moeten zijn {% newline %}
|:-20%-
|:-20%-:
|–40%—|# {% newline %}
{% assign current_account = #74367 %}{% newline %}
|:-20%-
|:-20%-:
|–40%—|#{% for detail in current_account.details %} {% newline %}
|{{ detail.custom.title }}
|{{ detail.custom.value | currency }}
| leeg laten en enkel kolom 1 en 2 zichtbaar{% endfor %}{% newline %}
{% assign current_account = #7437 %}{% newline %}
|:-20%-
|:-20%-:
|–40%—
|#{% for detail in current_account.details %}{% newline %}
|{{ detail.custom.title }}
|{{ detail.custom.value | currency}}
| leeg laten en enkel kolom 1 en 2 zichtbaar{% endfor %}
{% endstripnewlines %}

thx, Kenny

Hi Kenny,

When using the # table structure, the table will always be stretched across the whole width.

The only way to avoid is, is by making use of the table structure without the # sign. That will work fine.

More info on different table structures can be found here: CASE: different table structures.

If this would only need to be applied in PDF export, you can of course make smart use if ic tags so the table is not spread over the whole width in export.

Hope this answers your question!

Kind regards,
Robin