Skip to main content
All docs
V24.2

TreeListDataColumnFilterMenuTemplateContext.GetDataItemsAsync() Method

Returns a list of default filter menu items that contain unique column values and corresponding display texts.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public Task<List<TreeListFilterMenuDataItem>> GetDataItemsAsync()

Returns

Type Description
Task<List<TreeListFilterMenuDataItem>>

The Task object that returns a list of filter menu items.

Remarks

Note

The GetDataItemsAsync method cannot obtain unique values from a column whose data items do not implement IComparable type. If you call the method for such a column, an error may occur.

Refer to the following topic for more information and an example: Column Filter Menu in Blazor TreeList.

See Also