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
75
How to abort ajax request or skip results in igGrid ?
posted

Hello,

  We use the 2016.1 version of the igGrid and our query which refresh data in the grid take a long time to execute (but that's not the problem).

We would like, when a new filter is entered by the user, to abort (or skip results) the current ajax request (and a new ajax request would be sent with the new filter...).

I tried the following code this._dataSource._ajaxRequest.abort(); and it seems to work, but the _ajaxRequest attribute is private so i'm cheating...

Please, is there a good way to do it ? Thanks a lot.

Parents Reply Children