[GH #5782] Column width with filters and nested headers

Tags: #<Tag:0x00007fa98da92cf0> #<Tag:0x00007fa98da92b60>

Hi,

I use the following plugins (among others): Filters, Nested Headers and Multi-column sorting
I use an array of column widths to define the widths.
Now, if the column header is longer, it automatically widens which is ok. But now the dropdown for the filter is not accesible anymore.
If possible I’d like to avoid autoColumnSize due to performance issues. Is there any other way?

image

I tried to reproduce the behaviour in JSfiddle, but there is some mistake (it doesn’t render the table, if I try to set some settings afterwards): https://jsfiddle.net/zeLjpns0/

Thanks for helping!

Hi Stephan,

I reported this issue some time ago here https://github.com/handsontable/handsontable/issues/5782 but wanted to check some workarounds.

I was thinking about afterGetColHeader but it won’t change the width of the column. Have you considered making the font a bit smaller for this column? That’s not a fix but may look better.

Ok. I didn’t know that this is already a known issue. I guess I’ll have to find some workaround on my own. Changing the font isn’t feasible. Please, let me know if you come up with any other idea. Thanks.

Of course. I will keep you updated.