Skip to main content

IGridDataColumn.GroupInterval Property

Specifies how to group data rows.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(GridColumnGroupInterval.Default)]
GridColumnGroupInterval GroupInterval { get; set; }

Property Value

Type Default Description
GridColumnGroupInterval Default

A GridColumnGroupInterval enumeration value.

Available values:

Name Description
Default

For date/time columns, this option is the same as the Date option. For non date/time columns, this option is the same as the Value option.

Value

Rows are grouped by the column values.

Date

For date/time columns, rows are grouped by the date part of their values. The time part is ignored.

DateMonth

For date/time columns, rows are grouped by the month part of their values.

DateYear

For date/time columns, rows are grouped by the year part of their values.

DateRange

For date/time columns, rows are combined into the following non-overlapping groups according to their date value as compared with today’s date: “Beyond Next Month”, “Next Month”, “Later this Month”, “Three Weeks Away”, “Two Weeks Away”, “Next Week”, “Today”, “Tomorrow”, “Yesterday”, “Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Last Week”, “Two Weeks Ago”, “Three Weeks Ago”, “Earlier this Month”, “Last Month”, “Older”.

Alphabetical

Rows are grouped by the character that the column values start with.

DisplayText

Rows are grouped by the column values’ display text.

Custom

Custom logic is used to group grid data.

Remarks

Refer to the GroupInterval property description for more information and an example.

See Also