public eventSettings: EventSettingsModel= { dataSource: new DataManager({
url: 'https://js.syncfusion.com/demos/ejservices/api/Schedule/LoadData',
crudUrl:'https://js.syncfusion.com/demos/ejservices/api/Schedule/LoadData',
adaptor: new WebApiAdaptor,
})};
I did write the code exactly like the example : https://ej2.syncfusion.com/angular/demos/#/material/schedule/remote-data and this error happened
ERROR TypeError: Cannot read property 'indexOf' of undefined
at WebApiAdaptor.push.../node_modules/@syncfusion/ej2-data/src/adaptors.js.UrlAdaptor.processQuery (adaptors.js:462)
at DataManager.push.../node_modules/@syncfusion/ej2-angular-schedule/node_modules/@syncfusion/ej2-data/src/manager.js.DataManager.executeLocal (manager.js:116)
at manager.js:164
at ZoneDelegate.push.../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:16126)
at ZoneDelegate.push.../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
at Zone.push.../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
at push.../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask (zone.js:496)
at ZoneTask.invoke (zone.js:485)
at timer (zone.js:2054)