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

End Edit not working In batch Mode

Thread ID:





132871 Sep 26,2017 11:09 AM UTC Sep 27,2017 05:43 PM UTC JavaScript 1
Tags: ejGrid
Asked On September 26, 2017 11:09 AM UTC

             The End Edit event is not working in Batch mode. so how to get my value while end edit  without using actionComplete() method.

thanks & regards.

Thavasianand Sankaranarayanan [Syncfusion]
Replied On September 27, 2017 05:43 PM UTC

Hi Tamil, 

Thanks for contacting Syncfusion support. 

According to your query we suspect that you want to get the edited data after the saving in Grid.  

In endEdit event called after saving the record in Grid and also the event is occur for other than batch edit mode of ejGrid control.  

In batch edit mode, after saving the record we have call for actionComplete event but in this event we remove the batch saved data. So, we suggest you to get the modified data in actionBegin event by using a batchChanges API of ejGrid control and you can use those modified data in the actionComplete event of ejGrid control. 

Refer the below code example. 

<script type="text/javascript"> 
          var modifiedData; 
        $(function () { 
                // the datasource "window.gridData" is referred from jsondata.min.js 
                dataSource: Data, 
                allowPaging: true, 
                editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true, editMode: "batch" }, 
                columns: [ 
               actionBegin: function(args){ 
                     if (args.requestType == "batchsave") 
                         modifiedData = this.batchChanges; 
                actionComplete: function(args){ 
                     if (args.requestType == "batchsave") 

We have prepared a simple JsPlayground sample in the following link. 

Refer the help documentation. 

Thavasianand S. 


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