Back to Devexpress

GridColumn.UnGroup() Method

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-gridcolumn-8970cab1.md

latest2.4 KB
Original Source

GridColumn.UnGroup() Method

Ungroups data by the values of the current column.

Namespace : DevExpress.XtraGrid.Columns

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public void UnGroup()
vb
Public Sub 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

GroupIndex

Group()

ClearGrouping()

End-User Capabilities: Grouping

Data Grouping

GridColumn Class

GridColumn Members

DevExpress.XtraGrid.Columns Namespace