A newer version of this page is available. Switch to the current version.

CardViewColumn.GroupBy() Method

Groups data by the values of the current column.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public void GroupBy()


The ASPxCardView supports grouping by an unlimited number of columns. The GroupBy method groups cards by the values of the specified column.

Cards are always sorted against the grouping columns. If cards are grouped against a column which isn’t sorted, the card view automatically applies sorting in ascending order to the column.

Data grouping is allowed if the ASPxCardViewBehaviorSettings.AllowGroup and ASPxGridBehaviorSettings.AllowSort properties are set to true.

See Also