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

DataGridColumnLookupBuilder.DataSource Method

Name Parameters Description
DataSource(JS) js Specifies the data source for the lookup column. Mirrors the client-side dataSource option.
DataSource(RazorBlock) jsFunc Binds a lookup column to data that a JavaScript function returns.
DataSource(IEnumerable, String[]) data, key Binds a lookup column to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) configurator Binds a lookup column 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 lookup column to read-only data in JSON format.
DataSource(String) jsFunc Binds a lookup column to data that a JavaScript function returns.