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
95
HTTP Interceptor is not able to Intercept HTTP requests triggered by IGGrid control
posted

Hi, 

I am writing a Http Interceptor in angular 2 where I am able to Intercept all the Http requests except requests triggered by IGGrid control. 

I  am using “dataSourceUrl” property to bind  IGGrid from a service URL. Http Interceptor is not able to  intercept http get requests triggered to fill IGGrid, column filters, next & previous button click.

Is there any way to Intercept all the request triggered by IGGrid?

Thanks & Regards,
Yogesh Yadav

Parents
  • 25665
    Offline posted

    Hello Abhishek,

    Thank you for contacting Infragistics!

    The reason you are not seeing the igGrid requests is that the igGrid uses jQuery/Ajax to do the requests instead of the angular methods for requests. So you be able to intercept them you would have to watch for those methods.

Reply Children