Grid Inline Editing: when to save to backend?

Hi all,

currently I’m studying https://vaadin.com/docs/latest/components/grid/inline-editing how to inline edit in a Grid.

But from this documentation, I cannot really tell on which event should I hook to store the modified entity to the backend? How do I know editing was validated and finished successfully? (I especially refer to non-buffered.)

Marcus.

I would generally recommend having an explicit save Button or similar for non-buffered bindings, but you could hook into the Binder: https://vaadin.com/docs/latest/flow/binding-data/components-binder-load#tracking-binding-status

1 Like