Class SortingAction
Represents an interactive action that toggles sorting of one or more data items and groups.
Inheritance
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class SortingAction : IAction, IEquatable<SortingAction>, IActionWithTargets
Remarks
Use this action to specify an interactive action on a report item that triggers sorting to one or more items / groups.
When this action is set on an item, the item is rendered with a sort mark in all report viewers. Clicking on that mark triggers the action.
Constructors
SortingAction()
SortingAction(IActionTarget, String)
Creates a new instance of the Sorting
Declaration
public SortingAction(IActionTarget target, string sortingExpression)
Parameters
IAction The Name
Group |
System.
|
SortingAction(IActionTarget[], String)
Creates a new instance of the Sorting
Declaration
public SortingAction(IActionTarget[] targets, string sortingExpression)
Parameters
IAction An enumerable of Name
Group |
System.
|
Properties
SortingExpression
Gets or sets an expression that defines the sort field
Declaration
public string SortingExpression { get; set; }
Property Value
System.
|
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 Group
The items in this list do not accept expressions.
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.
|
Returns
System.
|
Overrides
Equals(SortingAction)
Declaration
public bool Equals(SortingAction other)
Parameters
Sorting
|
Returns
System.
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.
|