Skip to main content
A newer version of this page is available. .
All docs
V23.1

GridDataColumnFilterMenuTemplateContext.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.v23.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public Task<List<GridFilterMenuDataItem>> GetDataItemsAsync()

Returns

Type Description
Task<List<GridFilterMenuDataItem>>

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 DxGridDataColumn.FilterMenuTemplate property description for more information and an example.

See Also