DataProvider
Description
A DataProvider
is an interface that exposes a data source to the DataGrid
. It exposes functionalities used by the DataGrid
to query for data items or any other kind of data related to the data source.
Functions
Function |
Parameter |
Type |
Description 5 |
---|---|---|---|
openChannel() |
|
|
Opens a communication channel to allow the |
|
settings |
The options that determine the context in which the data requests are asked. |
|
|
[output] |
Returns the communication channel through which the async requests are launched. |
Remarks
A DataProvider
can be set as a data source for the DataGrid
through the DataGridOptions
and DataGridStartupOptions
, or via the DataGrid
.setDataSource
function.
The DataProvider
currently used by the DataGrid
can be retrieved via the DataGrid
.getDataSource
function.