Stretch table to fluid width

Tags: #<Tag:0x00007efc651e4ed0>

Is there any way to style the table with a 100% width? I would like the columns I define to stretch to fill up the width.

Setting width = '100%' seems to be ignored. Setting width = 800 doesn’t cause the table to stretch to fill up 800px either.

What am I missing?

Hi @jhill9693
Currently you can’t use % values but you can use stretchH option (docs: https://docs.handsontable.com/0.24.1/Options.html#stretchH) to stretch table to the parent’s size.

Also please take a minute to check our recent blog post: A complete guide to changing size in Handsontable