This sample demonstrates the remote data functionalities of the ListView. Click any item from the list to select and highlight it.
The ListView supports data binding and the dataSource
property can be assigned with the instance of DataManager
to bind remote the data.
The DataManager
that acts as an interface between the service endpoint and ListView will require the following minimal information to interact with the service endpoint properly.
DataManager->url - Defines the service endpoint to fetch the data.
DataManager->adaptor - Defines the adaptor option. By default, the ODataAdaptor is used for remote binding.
Adaptor is responsible for processing response and request from/to the service endpoint. @syncfusion/ej2-data
namespace provides some predefined adaptors that are designed to interact with the particular service endpoints. They are:
In this sample, the remote data is bound to be a collection of Products data as an instance of DataManager
.