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
620
requestError event not firing
posted

Hi,

I am currently using the Infragistics JQuery Grid with server side paging. If the server throws an error when it is trying to get the appropriate page of data, then I would like to get this error message in JavaScript and do some additional processing.

In the API documentation at the link below, it says there is a "requestError" event which looks like it would be suitable for what I am trying to achieve. However, this event does not seem to fire when an error occurs.

http://help.infragistics.com/jQuery/2011.2/ui.iggrid

My code looks like this:

         $('#' + gridid).igGrid({ requestError: function(evt, ui) { 
            alert("Hello");
        } }); 

The selector is definitely correct as I have successfully had other events grid events firing with this selector. I can also confirm that the ajax request the Grid is making to get the appropriate page, is responding with a HTTP Status code "500" for Internal Server Error.

Is there any additional steps I need to perform to achieve what I am looking for?

 

 

Parents Reply Children
No Data