I’m trying to create a table which is by default non-editable, but double-clicking a cell makes the cell editable. Is it possible to replace a single cell with another component?
The
Table chapter in Book of Vaadin
states: [quote]
You can easily implement editing of the table data, for example clicking on a cell could change it to a text field for editing.
[/quote]
but doesn’t really explain this behavior any further.
I already found
this thread
, but what if I don’t want a popup but a different Component to replace the cell content during edit? After all, wouldn’t it be quite an expensive operation to add a PopupView to every cell if I have, say 10000 rows with 10 columns?