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
Public Enum ColumnGroupInterval

Members

Name Description
Alphabetical

Rows are grouped by the first character of their value.

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" ...

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".

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"...

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.

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.

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).

Remarks

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

See Also