Data Binding
You can bind a DataSource instance to local data arrays or remote data services.
Binding to Local Data Arrays
To bind the DataSource to a local array of JavaScript objects, assign the array to the data
configuration property of the DataSource instance.
Binding to Remote Data Services
To make the connection to the remote endpoint and process the data properly, the DataSource requires the following information:
- URLs of the web service.
- Request type.
- Response data type.
- Structure (schema) of the response (if more complex than a plain array of objects).