(Telerik MVC) Grid - Inline/InCell Edit: AutoSave when leaving row, no Save-/Edit-Buttons

0 Answers 156 Views
Grid
Stefan
Top achievements
Rank 1
Iron
Iron
Iron
Stefan asked on 25 Nov 2022, 08:18 AM

Hi,

is it possible to have the grid save on leaving a row, and omit most of the buttons like 'Save' or 'Edit'?

We'd like the grid to do as much as possible automatically without the user having to trigger each function/event manually...

AutoSync(true) doesn't work for us, because it collides with our required fields, and always fires validation errors with each change of a cell value.

We tried this solution, but it doesn't cover all the bases: https://www.telerik.com/forums/auto-save-row-when-moving-to-the-next-row 
F
or example a record is not automatically saved, if it is the only one in the grid, because the solution requires to click another row.
Also the Delete-Event is not fired until another row was clicked.

I'd wish this was a standard feature for the Telerik Grid, because I have seen other vendors where their grid works like this by default, no scripts or whatever required.

 

 

Anton Mironov
Telerik team
commented on 29 Nov 2022, 02:57 PM

Hi Stefan,

Thank you for the details provided.

As this is a duplicate of other threads, I will copy the answer of my colleague Eyup here as well:

"I am afraid the Grid does not provide a similar event for the row, but you can try to attach a global onblur event handler to the grid's wrapper element. You can also check the document.activeElement instance capabilities.

For more accurate suggestions, can you open a formal support ticket and send us a very basic isolated MVC app simulating your project? Then, we will be able to provide a more precise approach."

Please keep the communication in one thread, this way the information will be consistent and easier to use as a reference. Also, this way we can keep better track of the support history and provide answers faster. 

Kind Regards,
Anton Mironov

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Stefan
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or