Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridColumn.UnGroup() Method

In This Article

Ungroups data by the values of the current column.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

public void UnGroup()

#Remarks

Grid Views support grouping data by an unlimited number of columns. The UnGroup method cancels data grouping by the values of the given column. Calling this method has no effect if data is not grouped by the values of this column. If it is necessary to completely clear grouping, call the View’s GridView.ClearGrouping method.

You can also ungroup data by the values of a single column by setting the column’s GridColumn.GroupIndex property to -1.

To group data by a column, use the column’s GridColumn.Group method.

Please refer to the Grouping and End-User Capabilities: Grouping topics for detailed information on data grouping in the Grid Control.

See Also