Can someone provide an example of using the igGrid with the Angular2 directives using remote paging and filtering? If you set the dataSource property to a URL, then an exception is thrown. If you set dataSourceUrl, nothing happens.
Hello,
I log an issue into our repo about it and already made a pull request which resolves it.
It should be merged and resolved soon.
Here is a Plunker example I created where the dataSource option is set to a services.odata.org URL to retrieve customer data from Northwind database. Note, if you omit the dataSource property on gridOptions and set the URL on the dataSourceUrl option, nothing happens, but exceptions are generated to the console window.
https://plnkr.co/edit/qlSDySz1VOdm4wgtoGbb?p=preview
I actually got it to work with the latest Plunker version, but still exceptions are generated to the console window:
Error: Error trying to diff 'https://crossorigin.me/https://services.odata.org/V4/Northwind/Northwind.svc/Customers' at new BaseException (VM5335 core.umd.js:4412) at DefaultIterableDiffer.diff (VM5335 core.umd.js:6873) at IgGridComponent.IgGridBase.ngDoCheck (VM5338 igniteui.angular2.ts!transpiled:372) at DebugAppView._View_AppComponent0.detectChangesInternal (VM5360 AppComponent.template.js:53) at DebugAppView.AppView.detectChanges (VM5335 core.umd.js:12143) at DebugAppView.detectChanges (VM5335 core.umd.js:12247) at DebugAppView.AppView.detectViewChildrenChanges (VM5335 core.umd.js:12169) at DebugAppView.AppView.detectChangesInternal (VM5335 core.umd.js:12154) at DebugAppView.AppView.detectChanges (VM5335 core.umd.js:12143) at DebugAppView.detectChanges (VM5335 core.umd.js:12247)
do you have an isolated sample, so I can investigate this ?