Skip to main content

TreeListColumnHeaderFilterBuilder.DataSource Method

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