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
igGrid Response from Restful Save failure

I am updating an igGrid with the code below. It works great if there are no database save issues.

Client side (most code eliminated for clarity)


.RestSettings(rs =>
.Update(u => u.RestVerbSetting()
.Batch(false) );


It is calling this Server Side:

public void Put(int chainPricingDetailId, [FromBody]ChainPricingDetailBrandData value)


How can I give feedback to the user if the Put failed?

  • 29397
    Verified Answer
    Offline posted

    Hello Kenn,

    Thank you for posting in our forum.

    The saveChanges method allows defining a success and an error handler functions:

    You can use the error handler, which is triggered when the updating request has failed (for example if the request has resulted in a server side error).

    In it you can show some indication to the user that the updating has failed. For example:

       grid.igGrid("saveChanges", function saveSuccess() {
                }, function saveError() {

     Let me know if you have any additional questions or concerns. 


    Maya Kirova

Reply Children