Help with column width

Tags: #<Tag:0x00007efc62049358>

My handsontable is nested in a div which has a width of 65%, but I want the handsontable to fill the whole div. I set columnWidth, which worked fine but I checked with other screen sizes and notice it is not responsive. How do I set responsive column widths?

Hi @magneticdigital1

did you check the stretchH functionality? Here are docs https://handsontable.com/docs/8.3.1/Options.html#stretchH and a demo https://handsontable.com/docs/8.3.1/demo-stretching.html

Hi @magneticdigital1

was the stretchH functionality what you were looking for? If you need anything else I’m here to help.

No, it wasn’t, using the stretchH just stretched the table to the full width of the parent div. Meanwhile, what I want to achieve is for it to fill the child div which is 65% of the parent div.

Wouldn’t it be something like this https://jsfiddle.net/2s86hnoy/ ? I’ve just used CSS.