Skip to main content
All docs
V24.2

GridCustomDataSource.GetUniqueValuesAsync(GridCustomDataSourceUniqueValuesOptions, CancellationToken) Method

Returns an array of unique values contained in the specified column.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public virtual Task<object[]> GetUniqueValuesAsync(
    GridCustomDataSourceUniqueValuesOptions options,
    CancellationToken cancellationToken
)

Parameters

Name Type Description
options GridCustomDataSourceUniqueValuesOptions

Options that data source items should match.

cancellationToken CancellationToken

An object that propagates a cancellation notification.

Returns

Type Description
Task<Object[]>

An asynchronous operation that returns unique column values.

Remarks

Do not call this method directly - the component calls this method automatically.

See Also