Using table as a spreadsheet

We are trying to convert a Table into a basic spreadsheet of values. Currently the click event on a cell opens the table for editing we want to change the behavior of click event on the Table cell to use or the vaadin RichText control rather than . The event handlers in the Table.java seem to just be propagating the click event via fireevent in the handleClickEvent. Is this something which is possible to do?

You can generate e.g. TextArea in a TableFieldFactory. If you want to set only the clicked cell to editable. Catch the itemId + propertyId on ItemClickEvent and put the table in editable mode and generate TextArea for clicked itemId + propertyId pair and null for all other cases.