We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

how to Groupby a particular column

Hi

We needs to group by a grid by a column.
we have made the property show groupby drop area to true."Drag a cloumn to group " text is appering in the grid,but grouping is not happening.what more things should we do in it.

1 Reply

HA haneefm Syncfusion Team September 25, 2007 04:05 PM UTC

Hi Sincy,

Essential Grids GridGroupingControl supports grouping of data at design time. The Grouping Browser sample uses a flat dataset that has been created with the designer. The GroupDropArea can be added by setting the ‘ShowGroupDropArea’ property to true. The data can be grouped by a given column by specifying the column name in the ‘TableDescriptor.GroupedColumns’ property.

[C#]
this.grid.TableDescriptor.GroupedColumns.Add("columnName");

Please refer to the "Grouping" category browser sample for implementation.
\Syncfusion\EssentialStudio\5.1.1.0\Windows\Grid.Grouping.Windows\Samples\2.0\Grouping\Grouping

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon