Holds properties specific for grouping mechanism such as performed action and reference to GridTableView where the action was performed.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class GridGroupsChangingEventArgs : EventArgs
Inheritance: objectEventArgsGridGroupsChangingEventArgs
Inherited Members
Constructors
public GridGroupsChangingEventArgs(GridTableView tableView, GridGroupByExpression expression1, GridGroupByExpression expression2, GridGroupsChangingAction action)
public GridGroupsChangingEventArgs(GridTableView tableView, GridGroupByExpression expression, GridGroupByField sortedField)
public GridGroupsChangingEventArgs(GridTableView tableView, GridGroupByExpression expression, GridGroupsChangingAction action)
Properties
Gets a reference to GridGroupsChangingAction enumeration, which holds information about what action did fire the GroupsChanging event.
public GridGroupsChangingAction Action { get; }
Gets or sets a value indicating whether GroupsChanging event will be canceled.
public bool Canceled { get; set; }
true, if the event is canceled, otherwise false.
Gets or sets the GridGroupByExpression that will be used for grouping Telerik RadGrid.
public GridGroupByExpression Expression { get; set; }
Gets a reference to the currently used GridGroupByField.
public GridGroupByField SortedField { get; }
Gets the swap expression which represents the GridGroupByExpression with which the Expression will be swapped. The only case the value is not null is when Action property is set to Swap.
public GridGroupByExpression SwapExpression { get; }
The swap expression which represents the GridGroupByExpression with which the Expression will be swapped. The only case the value is not null is when Action property is set to Swap.
Gets a reference to the GridTableView object where the grouping is performed.
public GridTableView TableView { get; }
a reference to GridTableView object.