TreeListDataColumnFilterMenuTemplateContext.GetDataItemsAsync() Method
In This Article
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<Tree |
The Task object that returns a list of filter menu items. |
#Remarks
Note
The Get
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