DevExtreme Angular - Access the DataSource

Regardless of the data source you use, the List always wraps it in the DataSource. To get the instance of the DataSource, call the getDataSource() method.

JavaScript
  • var listDataSource = $("#listContainer").dxList("getDataSource");

Now, you can call any method exposed by the DataSource. For example, you can reload data using the reload() method.

JavaScript
  • listDataSource.reload();
See Also