ClassSortingAction
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
SortingAction()
Creates a new instance of the SortingAction class.
Declaration
public SortingAction()
SortingAction(IActionTarget, string)
Creates a new instance of the SortingAction class with the specified sorting target and sorting expression.
Declaration
public SortingAction(IActionTarget target, string sortingExpression)
Parameters
target
The IActionTarget representing the sorting target, typically identified by Name or Name.
sortingExpression
string
The expression used to determine the sorting order.
SortingAction(IActionTarget[], string)
Declaration
public SortingAction(IActionTarget[] targets, string sortingExpression)
Parameters
targets
sortingExpression
string
Properties
SortingExpression
Gets or sets an expression that defines the sort field
Declaration
public string SortingExpression { get; set; }
Property Value
string
Remarks
Sorting expression sort the data that is displayed to the user after the data is retrieved from the data source.
Targets
Gets the list of sort targets which data will be sort when the action is triggered.
Declaration
public ActionTargetCollection Targets { get; }
Property Value
Remarks
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(SortingAction)
TODO: Add documentation.
Declaration
public bool Equals(SortingAction other)
Parameters
other
Returns
bool
Equals(object)
TODO: Add documentation.
Declaration
public override bool Equals(object obj)
Parameters
obj
object
Returns
bool
Overrides
GetHashCode()
TODO: Add documentation.
Declaration
public override int GetHashCode()
Returns
int
Overrides