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

DiagramNodesBuilder.DataSource Method

Name Parameters Description
DataSource(JS) js Binds the nodes collection to the specified data. For more information, see the Data Binding section. Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) data, key Binds a diagram nodes to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) configurator Binds a diagram nodes 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 a diagram nodes to read-only data in JSON format.