hans-georg1
(hans-georg gloeckler)
1
In vaadin 8 i have the following Code
TextField newValueField = new TextField();
grid.addColumn(...).setEditorComponent(newValueField, Person::setName)
How can i make this in vaadin 10?
I have tried it with the help of https://vaadin.com/docs/v10/flow/components/tutorial-flow-grid.html - section: Using Components and Showing Item Details.
But it is to difficult for me.
Pekka3
(Pekka Hyvönen)
2
Hi Hans-George. The editor API for Grid is available starting from V12, which is currently in beta and released as final version in 10 days.
You can see the examples here(https://vaadin.com/components/vaadin-grid/java-examples/grid-editor). To start using V12 prerelease versions, you need to declare the prereleases Maven repository and plugin repository, like shown here(https://github.com/vaadin/skeleton-starter-flow/blob/master/pom.xml).