Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
.net core igGrid("saveChanges") synchronized ?
posted

Is it possible to call $("#grid1").igGrid("saveChanges"); synchronized ?  Its looks like it is alway async even with a callback function like:

$("#grid1").igGrid("saveChanges", callBackFunction());

The async saveChanges cause problems in our application as we use session object between 2 action controller: the saveChanges action is not done before the second action is called and the state of the session is incorrect in the second action...

Please provide me an example of code how to call igGrid("saveChanges") synchronized with .Net core.

Thanks

Parents
  • 100
    Offline posted

    My mistake: The javascript callback function was not called successfully because the saveChanges action controller method was not returning a JSON success propertie...

    Now it works fine !

    thanks

Reply Children
No Data