How to hide or unhide the columns in a WinForms GridGroupingControl?
Hide or unhide the columns
You can store all the columns that are visible in the WinForms GridGroupingControl in the GirdGroupingControl.TableDescriptor.VisibleColumns collection. For hiding the particular column in the Grid, remove that column from the VisibleColumns collection.
//For Hide parentID columns
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Remove("parentID");
//For unhide the parentID column
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Add("parentID");'For Hide parentID columns
Me.gridGroupingControl1.TableDescriptor.VisibleColumns.Remove("parentID")
'For unhide the parentID column
Me.gridGroupingControl1.TableDescriptor.VisibleColumns.Add("parentID")The following
screenshot illustrates the output.

Samples: