Vaadin 8 Grid: how to edit a new row using inline editor?

Hi,

What is the best method to add a new row to Vaadin Grid, edit it using inline editor (without extra forms) and save it to datastore? As I undestand actually I need to:

  • modify data provider that will add dynamicaly an empty bean to the end of resultset
  • call refreshAll()
  • select a new empty row displayed
  • and now HOW TO CALL EDITOR programmatically on that row?

Salu2,
Antón

You can’t yet. See https://github.com/vaadin/framework/pull/10040 - I did the change because I need exactly the same functionality in my code.

Piotr Wilkin hello and thanks for your tips, sad what we cant do it yet!

Waiting for final pull request confirmation atm.