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

end-edit event is not firing

Thread ID:

Created:

Updated:

Platform:

Replies:

130747 May 30,2017 06:12 PM UTC May 31,2017 12:19 PM UTC ASP.NET Core 1
loading
Tags: Grid
R Brian Lindahl
Asked On May 30, 2017 06:12 PM UTC

i have a grid with this:

<ej-grid id="GridContainer"
         end-edit="onEndEdit"
...

  <script type="text/javascript">
    function onEndEdit(args) {
      $("body").attr("style", "background:Blue");
    }
  </script>

when I hit the 'update' button, the event isn't firing; i.e., I can set a breakpoint in the browser on the first line of the event handler, and it doesn't get hit.

Mani Sankar Durai [Syncfusion]
Replied On May 31, 2017 12:19 PM UTC

Hi Brian, 

Thanks for contacting Syncfusion support. 

We have analyzed your query and when using Normal EditMode we are not able to reproduce the reported issue. The event end-edit is triggering fine. 
Refer the screenshot below. 
 

We suspect that you are using batch editMode. If so we suggest you to use the cellSave or actionComplete event which will call after editing. 
Refer the documentation link. 

Note: When using actionComplete event in grid we request you to check the condition as args.requestType is batchsave. 
Refer the code example. 
<ej-grid id="FlatGrid" datasource="ViewBag.data" allow-paging="true" action-begin="begin" action-complete="complete"  end-edit="onEndEdit"> 
    <e-edit-settings allow-adding="true" allow-editing="true" allow-deleting="true" edit-mode="@(EditMode.Batch)"></e-edit-settings> 
... 
</ej-grid> 
 
function complete(args) { 
        if (args.requestType == "batchsave") { 
            debugger; 
 
        } 
    } 
Please let us know if you need further assistance. 

Regards, 
Manisankar Durai. 


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.

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

;