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

End Edit not working In batch Mode

             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.

1 Reply

TS Thavasianand Sankaranarayanan Syncfusion Team 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. 

Live Chat Icon For mobile
Up arrow icon