Vaadin 12beta: Grid.setEditorComponent()

I was using in Vaadin 8 the following code

TextField txf = new TextField();
grid.addColumn(...).setEditorComponent(txf, Person::setName);

How can i make this in vaadin 12beta.

Hi Hans-Georg, have you checked this:

https://vaadin.com/api/platform/12.0.0.alpha5/com/vaadin/flow/component/grid/Grid.Column.html#setEditorComponent-com.vaadin.flow.component.Component-

Hi Tatu,

thanks for your answer

I have checked it, the following code works

TextField txf = new TextField();
grid.addColumn(...).setEditorComponent(txf);

But how can i define where to write the value, here “Person::setName”

I have seen that there is setEditorBinding(Binding), but i understand not how to use it.