[]
Applies or removes a sort for the report based on a user sort action.
public ReportPosition Sort(string sortID, SortDirectionEnum direction, bool clear, CancellationToken cancellationToken)
| Type | Name | Description |
|---|---|---|
| string | sortID | The ID of the report item on which to sort. |
| SortDirectionEnum | direction | A SortDirectionEnum value containing the direction for the sort. |
| bool | clear | Indicates whether all other existing sorts should be cleared. |
| CancellationToken | cancellationToken | CancellationToken that can be used to cancel an action. |
| Type | Description |
|---|---|
| ReportPosition | ReportPosition object specifies position in the report where viewer should be focused after sorting. |