Vaadin 7 Table widget - editable TextField width

Hello.

Is there a way to change (i.e increase) the width of TextField which appears on editable table on text properties?

Regards,
RG.

Hi,

I think your best approach would be to implement the TableFieldFactory interface and provide fields with the wanted size from it. Also remember to attach it to the Table by calling e.g. yourTable.setTableFieldFactory(new YourTableFieldFactory());

Thank you for your answer. I’ve been expecting I was going to have to do something like this. Unfortunately due to my other issue (
link
) which I cannot resolve I have to consider other way of editing data behind the table (now I’m thinking about popup window to edit data, triggered by the edit button in generated column).

Thanks anyway,
RG.