dashboard-js-devexpress-dot-dashboard-dot-iremoteservice-1.md
A remote service used to communicate with the server side.
export interface IRemoteService<TResponse = any>
| Name | Description |
|---|---|
| TResponse |
A type of the request response.
|
IRemoteService<TResponse> AjaxRemoteService
Requests data from the server using the POST method.
getFromServer: (url: string, data?: Object, queryOptions?: Object, abortController?: AbortController) => TResponse
| Type | Description |
|---|---|
| (url: string, data?: Object, queryOptions?: Object, abortController?: AbortController) => TResponse |
A type of the request response.
|
Performs export requests to the server.
performPostback: (url: string, args: Object, abortController?: AbortController) => JQueryPromise<any>
| Type | Description |
|---|---|
| (url: string, args: Object, abortController?: AbortController) => JQueryPromise<any> |
A JQuery Promise object that is resolved after the action is completed.
|
Posts data to the server using the POST method.
postToServer: (url: string, data?: Object, abortController?: AbortController) => TResponse
| Type | Description |
|---|---|
| (url: string, data?: Object, abortController?: AbortController) => TResponse |
A type of a request response.
|