Skip to main content
All docs
V24.2

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

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

C#
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