Skip to main content
A newer version of this page is available. .

Bind Controls to Data

All DevExtreme-based ASP.NET Core controls that operate with data collections have the DataSource() method. Unlike other control methods, DataSource() do not have a direct counterpart in the DevExtreme JavaScript API, although its purpose resembles that of the Stores in the DevExtreme Data Layer. You can use the DataSource() method to configure data access from different sources:

Data-bound controls (except PivotGrid) also have the DataSourceOptions() method. It exposes a builder that configures initial sorting, filtering, grouping, and other data shaping operations. The builder’s methods have JavaScript API counterparts described in this section.