Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Grid edit, save, cancel "global" buttons

Robo Ninja
5 years ago Aug 26, 2016 9:14am
Tatu Lund
5 years ago Aug 26, 2016 1:34pm

If I understand your idea correctly, I would say kind of yes. There are two edit modes in Grid, buffered editor, which is row based and un-buffered mode, which is cell based. In un-buffered mode you can edit one cell at a time. There is no save/cancel button, the value is pushed directly to the container.

If you use this add-on, the experience is even smoother.

https://vaadin.com/directory#!addon/gridfastnavigation-add-on

So you can create Edit, Save and Cancel buttons your self. With Edit button you will enable un-buffered editor. Create logic to save the data to backend behind Save, and Cancel to retrieve current data from backend to undo changes.
 

Robo Ninja
5 years ago Aug 30, 2016 6:17am
Thorsten Scheer
1 year ago Sep 15, 2020 7:22am
Desenvolvimento FJ Sistemas
8 months ago Feb 05, 2021 11:10am
Desenvolvimento FJ Sistemas
8 months ago Feb 05, 2021 11:20am
Desenvolvimento FJ Sistemas
8 months ago Feb 05, 2021 11:21am
Luis Gutierrez
8 months ago Feb 05, 2021 11:55am
Desenvolvimento FJ Sistemas
8 months ago Feb 05, 2021 11:56am

Luis Gutierrez:

Desenvolvimento FJ Sistemas:

Tatu Lund: If I understand your idea correctly, I would say kind of yes. There are two edit modes in Grid, buffered editor, which is row based and un-buffered mode, which is cell based. In un-buffered mode you can edit one cell at a time. There is no save/cancel button, the value is pushed directly to the container.

If you use this add-on, the experience is even smoother.

https://vaadin.com/directory#!addon/gridfastnavigation-add-on

So you can create Edit, Save and Cancel buttons your self. With Edit button you will enable un-buffered editor. Create logic to save the data to backend behind Save, and Cancel to retrieve current data from backend to undo changes.

https://vaadin.com/forum/thread/18525966/edit-off-grid-button

Hi Desenvolvimento FJ Sistemas, I understand you'd like to get help on your issue but this isn't the way. Please refrain from quoting people in other threads directing them to your question.

OK, sorry