MB
Manoj Bhaskarakurup
May 3, 2007 09:48 PM UTC
Hi,
Is there a way to programatically reassign the group, i.e remove all the groups and group again?
Thanks
Manoj
HA
haneefm
Syncfusion Team
May 3, 2007 11:23 PM UTC
Hi Manoj,
If you want to group a table by a column in the GridGroupingControl, you can add the column name to the GroupedColumns collection in theTableDescriptor.
[C#]
// Group by column Col1.
this.gridGroupingControl1.TableDescriptor.GroupedColumns.Add("Col1");
[VB.NET]
' Group by column Col1.
Me.GridGroupingControl1.TableDescriptor.GroupedColumns.Add("Col1")
Best regards,
Haneef