Vaadin 14 Grid inline editor with java

I am preparing a grid with inline editor mechanism. I need to add a new empty row when I click a button outside the grid. After filling data in the new row I can save with associated save button in the row.
I am not able to add a new editable row dynamically. Tried different ways, could not succeed.
Please help me someone here.
Thanks in advance.

You can only add rows of you use List of items. How do you add items?

Here’s a good example on how you can achieve that https://stackoverflow.com/a/68571106/16531281

Thanks. It worked like charm