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.v24.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