We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Batch editing with dialog template

Thread ID:

Created:

Updated:

Platform:

Replies:

151320 Feb 6,2020 06:30 PM UTC Feb 7,2020 11:44 AM UTC Angular - EJ 2 1
loading
Tags: Grid
Matic
Asked On February 6, 2020 06:30 PM UTC

Hi,
I want to use Grid control as a part of a form that would submit grid data as part of this form. After user fills all the other form data, I want him to edit (fill) data in grid as well. On form submit, I want to submit data as shown in batch editing from this example: https://ej2.syncfusion.com/angular/demos/#/material/grid/batch-editing Meaning I want to catch on server side which rows were edited and which rows were added.

But when user is adding data to the grid I would like to use dialog editing. Is it possible to combine those two in some way?

I also have another question. When specifying endpoints for CRUD operations, why are there always POST requests triggered. Why is PUT not triggered for Update and why DELETE is not triggered for delete like REST is specified?

Thanks for your answers.

Prasanna Kumar Viswanathan [Syncfusion]
Replied On February 7, 2020 11:44 AM UTC

Hi Matic , 
 
Greetings from Syncfusion support 
 
Query 1 : Is it possible to combine batch editing and dialog editing using some condition. 
 
It is not possible to combine those two type of editing in single grid. Because in Batch editing, the editing is done based on single cell it will be saved when you click on other cell. But in Dialog editing a new dialog will open when you start the edit and the grid will save only the Save button clicked. Due to this, the combination of both two editing is not possible. 
 
Query 2 : When specifying CRUD operations, why are always POST request triggered. 
 
Generally request type like POST, PUT and DELETE is only for WebAPI Adaptors. Currently we do not have support for WebAPI Adaptor with batch editing. We have logged an feature task for this. 
 
 
Please get back to us if you need further assistance 
 
Regards 
Prasanna Kumar N.S.V 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon