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. Image for the cookie policy date

Batch update before submit button

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

3 Replies

PS Pavithra Subramaniyam Syncfusion Team 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. 
 



KT Kenneth Tang January 23, 2019 06:29 AM UTC

Dear Pavithra,

Thank a lot!

KennethT


PS Pavithra Subramaniyam Syncfusion Team 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. 


Loader.
Live Chat Icon For mobile
Up arrow icon