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
1390
igDataSource Callback
posted

Hi, I created a datasource like follow:

 

dataSource: new $.ig.JSONPDataSource({
					dataSource: $widget.options.dataSource.remoteUrl,
					type: "remoteUrl",
					responseDataKey: "Results",
					callback: function (success, error) {
						if (!success) {
							alert(error);
						}
					},
					urlParamsEncoded: function (owner, params) {
						$.fc.igHelper.igSetOdataDateFilter(owner, params);
					}					
				})
 
but the callback method does not get fired if an error occurs.
 
 
Parents
No Data
Reply
  • 23953
    Offline posted

    Hello Christoff,

    In JSONPDataSource we don't handle the error callback from the $.ajax API.

    I've logged a bug in our internal bug tracking system with an id 154308. We will create a case for you and link it to the bug, so that you can track its progress in your account in the 'Support Activity' page. You'll be notified by e-mail when the bug is fixed and available for download.

     

    Best regards,
    Martin Pavlov
    Infragistics, Inc.

Children