DevExtreme jQuery/JS - Access the DataSource

Regardless of the data source you use, the Lookup always wraps it in a DataSource. Call the getDataSource() method to get the instance of the DataSource.

JavaScript
  • var lookupDataSource = $("#lookupContainer").dxLookup("getDataSource");

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

JavaScript
  • lookupDataSource.load();
See Also