Access the DataSource

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

JavaScript
var selectBoxDataSource = $("#selectBoxContainer").dxSelectBox("getDataSource");

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

JavaScript
selectBoxDataSource.load();
See Also