grouping items in data grid

Oct 15, 2008 at 3:37 PM
Hi all,
I'm trying to add grouping to my datagrid (i'm using the codeplex's DataGrid). Is there any convenient way to do it? In ListView for example I usually use the GroupDescriptions and GroupStyle properties.Is there any corresponding properties in the DataGrid (especially for GroupDescriptions )? Does the GroupStyleSelector & GroupStyle properties has any relevance for that purpose?

Thanks in advance
Oct 16, 2008 at 1:36 PM
Adding a GroupStyle to a DataGrid is similar to a ListView.  The sample on this post,, shows how to create a GroupStyle dynamically on the DataGrid.
Oct 19, 2008 at 2:19 PM
Thanks for your reply and for the sample. It's really simple to use it