This is a migrated thread and some comments may be shown as answers.
Post grid in form with popup editing
1 Answer 19 Views
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 09 May 2018, 12:49 PM

I have a requirement to edit an object that has a list of texts associated with the object. The texts can not be edited again. I have found how to post a grid at this link https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/grid/post-grid-with-form but the example uses incell editing.

So I decided to just change the incell to popup and extected it to work. At my surprise they were not. It seems popup requires the server editing. Is this true or are there posibilities to have the popup editing also on the client?

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 14 May 2018, 10:03 AM
Hi Dan,

In order to edit multiple items at once without saving each one separately, you need to enable Batch mode in the DataSource. The only editing mode of the DataSource that supports Batch edits is the InCell one. The PopUp edit mode works only by saving each row after editing. If you edit one row and then try to edit another one without clicking Update, you will most probably lose the changes you made. 
What you can try as an alternative is to implement a custom external editor. You can see this example, where the elements within a Window are bound to the currently selected Grid row and provide editing capabilities:
External editor for batch editable grid


Regards,
Tsvetina
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Dan
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or