ASPxVerticalGrid.GetSortedRows() Method

Returns a collection of rows involved in sorting.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public ReadOnlyCollection<VerticalGridDataRow> GetSortedRows()
Public Function GetSortedRows As ReadOnlyCollection(Of VerticalGridDataRow)


Type Description

The collection of rows involved in sorting.


The ASPxVerticalGrid allows data sorting by multiple rows. The GetSortedRows property provides access to the rows involved in sorting. This property can be used if you need to traverse through the sorted rows to perform operations on them. For example, you may want to change the sort order. Note that this collection is read only; it doesn't allow rows to be added or removed. To apply or cancel sorting by row values, use the row's VerticalGridDataRow.SortOrder property.

Sorting is allowed if the ASPxGridBehaviorSettings.AllowSort property is set to true.

To learn more, see Sorting.

See Also