Hi John,
Thanks for your interest in Syncfusion products.
Yes, The reported behavior is achievable. You can make any
one of the following method of GridGrouping control’s for this purpose.
1.GridGroupingControl:
There are many ways to remove/hide the columns from the
grid. Please make any one of the below method.
(i)You can make use of the ColHiddenEntries
Code Snippet:
int n=5;//say you are having 5 columns in a group.
GridColHidden[] hiddenCols = new GridColHidden[n];
for (int i = 0; i < n; i++)
hiddenCols[i] =
new GridColHidden(i + 1);
this.gridGroupingControl1.TableControl.Model.ColHiddenEntries.AddRange(hiddenCols);
(ii)or you can remove the columns and add the required
columns afterwards.
Code Snippet:
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Remove("column name");
you can make use of any of the following sample in the
following category.
Sample: Syncfusion\EssentialStudio\11.4.0.26\Windows\Grid.Grouping.Windows\Samples\Performance
Please let me know if you have any concerns.
Regards,
Arun.