In Vaadin 8 Grid the columns could easily be make hidable by calling setHidable(true). This would render a context menu in the table header like this:

Now I want to do the same thing in Vaadin 24. There is no setHidable() anymore, so I added a column and in the header added a button which opens a ContextMenu (pretty much copy-pasted from the docs). Works fine, but this extra column is bothering.

Is there a way to colspan the last two columns? Or any other suggestions how to add that context menu to the table header without adding a column?
Yes, it would be much easier to have that context menu button outside the table, but the client likes to have the same way as before.