Back to Devexpress

ASPxVerticalGrid.BeforeRowSorting Event

aspnet-devexpress-dot-web-dot-aspxverticalgrid-c0663dce.md

latest2.5 KB
Original Source

ASPxVerticalGrid.BeforeRowSorting Event

Occurs before a row is sorted.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxVerticalGridBeforeRowSortingEventHandler BeforeRowSorting
vb
Public Event BeforeRowSorting As ASPxVerticalGridBeforeRowSortingEventHandler

Event Data

The BeforeRowSorting event's data class is ASPxVerticalGridBeforeRowSortingEventArgs. The following properties provide information specific to this event:

PropertyDescription
OldSortIndexGets a column’s (row’s for ASPxVerticalGrid) previous position among sorted columns (rows). Inherited from ASPxGridBeforeColumnGroupingSortingEventArgs.
OldSortOrderGets a column’s (row’s for ASPxVerticalGrid) previous sort order. Inherited from ASPxGridBeforeColumnGroupingSortingEventArgs.
RowGets a row whose sort order has been changed.

Remarks

The event parameter’s properties allow you to obtain a row’s previous sort order, and its position among sorted rows. The processed row is returned by the ASPxVerticalGridBeforeRowSortingEventArgs.Row property.

See Also

SortIndex

SortOrder

RowSorting

Vertical Grid

ASPxVerticalGrid Class

ASPxVerticalGrid Members

DevExpress.Web Namespace