views:

441

answers:

1

Hi,

I have a requirement for a "Tree grid" or "Tree list" control.

This is something that looks like a DataGrid, but the left hand side is a tree that can be expanded and collapsed to show different rows (typically grouped, or perhaps showing data from a heirarchy).

Has anyone tried to build something like this by hand? If so do you recommend that route?

Or am I better of buying the control? If so who sells a good one?

We are targetting Silverlight 4 if that makes a difference

UPDATE: This is the type of control I am looking for (but for SL obviously)

+2  A: 

This article looks promising. He uses a DataGrid with a custom data source and cell template. This is the only example I have found so far that actually ends up looking like a DataGrid (because it is one).

Telerik has a CTP of a TreeListView control, but it definitely looks more like a list than a data grid.

Also see this similar question also on StackOverflow.

dcstraw