Reputation: 302
Is it possible to set a max-width of a Vaadin Grid column?
In the Vaadin docs I only found how to set a fixed column width e.g. .setWidth("7em").setFlexGrow(0)
Vaadin Grid documentation
Is there something like .setMaxWidth()
in the Grid API?
Upvotes: 3
Views: 535
Reputation: 12869
No, there is not.
I tried
Grid.Column.getElement().getStyle().set("max-width", "100px");
But that does not work either.
Upvotes: 0