WPF Datagrid support for Treeview column type

May 3, 2009 at 5:08 AM
Hi,

     Does the March 2009 release of the WPF toolkit support treeview column type? What I want is the datagrid columns should be able to support hierarchical data. This is a feature which is already available for the Windows forms datagrid (DevExpress, Infragistics etc)

    If this is not supported in the March 2009 release do you have any plans to include support for such column types? Is it possible to extend the datagrid to support this in case the current release does not support it?

Thanks,
Ranjith
Coordinator
May 3, 2009 at 7:51 PM
Hi Ranjith,

No, the DataGrid does not currently support a TreeGrid format out of the box.  You should be able to implement this yourself, but it won't be easy to do.  Alternatively, you could nest multiple DataGrids in the RowDetails to create a hierarchical look, but you'll still probably want to retemplate the control to improve the look of it. 

This is a common feature request and one which we'd like to implement in the future, but that likely won't be for at least one or two more releases of the WPF framework. 

Thanks,
Samantha
Oct 29, 2009 at 8:42 AM

Isn't it a major control in any Financial application? We are using WinForms TreeViewControl (DevExpress) to show Financial Statements (account name, credit, debit, amount). We would like to update it to WPF, but not a single ui component provider has such control. They have only all-in-one-grids that has such useless things like cards and carusel views.

Daniel

Apr 26, 2010 at 11:18 AM

Hello,

Exactly my question... But now a year later has anything changed?

 

thanks

John

Aug 17, 2010 at 6:47 PM
Edited Aug 17, 2010 at 8:04 PM

Same in here

Really want this compelling control in the BCL.

 

Actually we can see this control in the VS IDE (it's editable):

Aug 18, 2010 at 5:37 AM

I'd really love to see support for this in the DataGrid. - As long as it doesn't make the API too complicated. The datagrid already is pretty complex. Bu then again, the DataGrid is THE control where such a functionality would belong. It doesn't make much sense to introduce a new control or put it to the ListView.

Aug 18, 2010 at 5:37 AM
Edited Aug 18, 2010 at 5:40 AM

deleted (I doubleclicked the Reply-Button, definitely a bug :) )

Aug 18, 2010 at 8:23 AM

Hi Rajnith,

Even we had this requirement and all we could do to is implement this by using Tree View List View and then apply Datagrid styles to it to make it look like a datagrid.

U can find a good example here ... http://msdn.microsoft.com/en-us/library/ms771523.aspx

Cheers,

Vinit