SortingAction
Represents an interactive action that toggles sorting of one or more data items and groups.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
public class SortingAction : IAction
Inheritance: objectSortingAction
Implements:
Constructors
Creates a new instance of the SortingAction class.
public SortingAction()
Creates a new instance of the SortingAction class with the specified sorting target and sorting expression.
public SortingAction(IActionTarget target, string sortingExpression)
The IActionTarget representing the sorting target, typically identified by Name or Name.
sortingExpressionstringThe expression used to determine the sorting order.
public SortingAction(IActionTarget[] targets, string sortingExpression)
Properties
SortingExpression
string
Gets or sets an expression that defines the sort field
public string SortingExpression { get; set; }
Sorting expression sort the data that is displayed to the user after the data is retrieved from the data source.
Gets the list of sort targets which data will be sort when the action is triggered.
public ActionTargetCollection Targets { get; }
Use this property to add / remove sorting targets of the action. To add an table group as sort target you need to add / remove the value of the of the target respectively. The used names must be unique in the report scope.
The items in this list do not accept expressions.
Methods
Equals(object)
bool
TODO: Add documentation.
public override bool Equals(object obj)
bool
Overrides:
TODO: Add documentation.
TODO: Add documentation.
public override int GetHashCode()
int
Overrides: