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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Batch update before submit button

Thread ID:

Created:

Updated:

Platform:

Replies:

142112 Jan 21,2019 02:53 AM UTC Jan 23,2019 12:04 PM UTC ASP.NET MVC - EJ 2 3
loading
Tags: Grid
Kenneth Tang
Asked On January 21, 2019 02:53 AM UTC

Dear all,

Our user want to have a one click button for update and submit all records to supervisor.
Please advance how we could to do.

Attached please find the chtml and screen layout as your reference , thx.

KennethT



Attachment: sample_a5d117c0.zip

Pavithra Subramaniyam [Syncfusion]
Replied On January 21, 2019 10:42 AM UTC

Hi Kenneth, 
 
Thanks for contacting Syncfusion support. 
 
We suggest to call the batchSave method of the Grid editModule to update all the records before you perform submit actions. Please refer the following code snippet for further assistance, 
 
<script type="text/javascript"> 
    function toolbarclick(args){ 
        if (args.item.text === "Submit") { 
            this.editModule.batchSave(); 
            // Place your code here... 
        } 
    }; 
</script> 
 
We have prepared the sample with this requirement and that can be download from the below link, 
 
 
Refer the below link to know about batchSave method of the Grid, 
 
 
Regards, 
Pavithra S. 
 


Kenneth Tang
Replied On January 23, 2019 06:29 AM UTC

Dear Pavithra,

Thank a lot!

KennethT

Pavithra Subramaniyam [Syncfusion]
Replied On January 23, 2019 12:04 PM UTC

Hi Kenneth, 
 
Thanks for your update. 
 
Please contact us if you need any further assistance. As always, we will be happy to assist you. 
 
Regards, 
Pavithra S. 


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

;