[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Collapse]Windows 10 App Controls
 [Expand]Getting Started
  [Expand]Navigation and Layout
  [Expand]Data Editors
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Binding to Data
   [Collapse]Data Management
    [Expand]Data Summaries
      Grouping Overview
      Expanding and Collapsing Group Rows
      Grouping in Code
      Group Modes
    [Expand]Filtering and Searching
   [Expand]Data Editing
   [Expand]Asynchronous Virtual Source
   [Expand]Data Scrolling
   [Expand]Visual Elements
  [Expand]Map Control
  [Expand]PDF Viewer
   SVG Icon
   Context Menu
 [Expand]Themes and Color Schemes
  Get More Help
 [Expand]API Reference
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Group Modes

Expanded Group Modes

When grouping by date/time values, only the date portion of the value is taken into account by default, while the time portion is ignored. So rows that contain matching date portions, but different time portions, in a grouping column are combined into a single group. If grouping columns contain other data types, the default grouping logic is used. In this instance, rows are combined into a single group if they have a matching value in a grouping column.

The Interval Grouping feature allows you to change the default logic, especially for columns containing date/time values. For example, data rows can be arranged by the month or year portion of a date/time value, while text columns can be grouped alphabetically by the first characters. To specify the required grouping mode, use the column's GridColumnBase.GroupInterval property.

Is this topic helpful?​​​​​​​