# Don't stretch table

**URL:** <https://community.silverfin.com/t/dont-stretch-table/1972>\
**Category:** Templates\
**Tags:** table-structure\
**Created:** [December 10, 2020, 1:37pm UTC](https://community.silverfin.com/t/dont-stretch-table/1972 "2020-12-10T13:37:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VVAcc](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/vvacc/32/1603_2.png) [@VVAcc](https://community.silverfin.com/u/VVAcc)\
**Post date:** [December 10, 2020, 1:37pm UTC](https://community.silverfin.com/t/dont-stretch-table/1972/1 "2020-12-10T13:37:07Z")

</div>

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?

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/0/0e82e2d453ec13b2f1ca256f7bac65c956f832ff.png)

{% 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

---

<div class="post-metadata">

**Author:** ![robindeclercq](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/robindeclercq/32/472_2.png) [@robindeclercq](https://community.silverfin.com/u/robindeclercq)\
**Post date:** [December 10, 2020, 3:17pm UTC](https://community.silverfin.com/t/dont-stretch-table/1972/2 "2020-12-10T15:17:40Z")

</div>

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](https://community.silverfin.com/t/case-different-table-structures/1529).

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
