Skip to main content
Tab

CardViewColumn.GroupIndex Property

Gets or sets a value that specifies whether the column takes part in grouping.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(-1)]
public int GroupIndex { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value that specifies the column’s position among grouping columns. -1 if the ASPxCardView isn’t grouped by the values of the current column.

Remarks

The ASPxCardView supports grouping by an unlimited number of columns.

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