Hi Ash,
Thank you for using Syncfusion products.
For GridGroupingControl column iteration, make use of
GridColumnDescriptor class and get the grouping
control columns from TableDescriptor.
You can get the index of column using the “ IndexOf”.
Please refer the below code:
foreach (GridColumnDescriptor col in this.gridGroupingControl1.TableDescriptor.Columns)
{
if (col.HeaderText.ToUpper() ==
"PARTY CODE")
{
ColIndex = this.gridGroupingControl1.TableDescriptor.Columns.IndexOf(col);
break;
}
}
Please let me know if you have any
concerns.
Regards,
Praveena