Grid recalculateColumnWidth

I want Grid to resize the grid columns based on the content. Something that V8 had an api for (grid.recalculateColumnWidth()).
I was under the impression that Grid in Vaadin Flow is supposed to auto-calculate the widths based on the contents by default, but maybe I am wrong.

Any idea how I can get the columns to resize automatically?


Using Vaadin 13.0.8

This feature is not yet in Vaadin 13, but will be in Vaadin 14

https://vaadin.com/api/platform/14.0.0.beta3/com/vaadin/flow/component/grid/Grid.html#recalculateColumnWidths--

There seems to be some issues in beta3 still, so follow this one as well

https://github.com/vaadin/vaadin-grid-flow/issues/685

Thank you Tatu!