ASPxCardView.GroupBy(CardViewColumn, Int32) Method
Groups cards by the values of the specified column.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public int GroupBy(
CardViewColumn column,
int value
)
#Parameters
Name | Type | Description |
---|---|---|
column | Card |
A Card |
value | Int32 | An integer value that specifies the grouping index. |
#Returns
Type | Description |
---|---|
Int32 | An integer value that specifies the grouping index. |
#Remarks
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
.