Skip to main content

ColumnGroupInterval Enum

Contains values that specify how data rows are combined into groups when grid data is grouped by a specific column.

Namespace: DevExpress.Data

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public enum ColumnGroupInterval

Members

Name Description
Default

For columns which store date/time values, this option is the same as the ColumnGroupInterval.DateRange option. For non date/time columns, this option is the same as the ColumnGroupInterval.Value option.

Value

Rows are grouped by their values. The number of groups matches the number of unique values within the grouping column.

Note that DateTime objects which have the same date portion but different time portions are treated as unique values (each has its own group).

Date

This option is in effect only for columns that store date/time values.

Rows are grouped by the date part of their values. The time portion is ignored in this grouping mode.

DateMonth

This option is in effect only for columns that store date/time values.

Rows are grouped by the month and year. Examples of such groups: “January, 2014” , “February, 2014”, “March, 2015”…

DateQuarter

This option is in effect only for columns that store date/time values.

Rows are grouped by the quarter and year. Examples of groups: “Q3, 2014”, “Q4, 2014”, “Q1, 2015” …

DateYear

This option is in effect only for columns that store date/time values.

Rows are grouped by the year. Examples of such groups: “2013”, “2014”, “2016”…

DateRange

This option is in effect only for columns that store date/time values.

Rows are grouped into the following groups according to their date value as compared with the current system date: “Today”, “Tomorrow”, “Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Next Week”, “Two Weeks Away”, “Three Weeks Away”, “Next Month”, “Beyond Next Month”, “Yesterday”, “Last Week”, “Two Weeks Ago”, “Three Weeks Ago”, “Last Month”, “Older”.

Alphabetical

Rows are grouped by the first character of their value.

DisplayText

Rows are grouped by the cell’s display values.

In specific instances, cells can have different edit values, but the same display value. To combine these rows into the same group, use the DisplayText group mode.

Related API Members

The following properties accept/return ColumnGroupInterval values:

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

The ColumnGroupInterval enumeration values are used by the GridColumn.GroupInterval property.

See Also