VirtualServerModeSource.GetUniqueValues Event
In This Article
Allows you to provide values for columns’ filter dropdowns.
Namespace: DevExpress.Data
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public event EventHandler<VirtualServerModeGetUniqueValuesEventArgs> GetUniqueValues
#Event Data
The GetUniqueValues event's data class is VirtualServerModeGetUniqueValuesEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancellation |
Gets a token that allows you to respond to a task cancellation request invoked by the grid control. |
Filter |
Gets the filter expression applied to the grid. |
Max |
Gets the maximum number of filter values to return. |
Unique |
Gets or sets the task that returns requested values. |
Values |
Gets or sets the expression that identifies the currently processed column. This can be a field name or an expression (for calculated columns). |
Values |
Gets the currently processed column name (field name), provided that this name can be unambiguously identified. |
#Remarks
If this event is not handled, the bound grid control obtains filter items itself by iterating through loaded records.
Tip
A Task typically executes asynchronously. To return filter values synchronously, create the task with the Task.
See Also