Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141560 | Dec 18,2018 07:47 AM UTC | Dec 19,2018 08:37 AM UTC | Angular - EJ 2 | 1 |
![]() |
Tags: Grid |
import { DataManager, UrlAdaptor } from '@syncfusion/ej2-data';
class CustomAdaptor extends UrlAdaptor {
public beforeSend(args: DataManager, xhr: XMLHttpRequest) {
xhr.withCredentials = true;
super.beforeSend(args, xhr);
}
}
ngOnInit(): void {
this.data = new DataManager({
...,
adaptor: new CustomAdaptor
});
}
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.