Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HtmlEditorVariablesBuilder.DataSource Method

Name Parameters Description
DataSource(JS) js Specifies a collection of variables available for a user. Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) data, key Binds variables to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) configurator Binds variables to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) staticJsonUrl, key Binds variables to read-only data in JSON format.