Is it possible to define table column width in percent or relative to font

Hi,

I’ve found
Table.setColumnWidth()
, but it only sets the column width in pixels. This is not always practical, as one may wish to define the width in percent (10%) or in font points (3em).

It there any workaround in Vaadin? What is a show-stopper for this functionality? Thank you in advance.

P.S. I’ve found only
this ticket
, where this feature was mentioned.

You can set a column expand ratio, and if you only have relative width columns, you can probably achieve percentual sizing with it.

Other units for setting the size are not supported in the current versions, and supporting them would complicate the client side implementation somewhat and might affect its performance. Nevertheless, you can
create an enhancement ticket
about this if you want.

Submitted as
ticket#5897
.