TreeView in GridView

I know there must be a way to do this, and maybe someone has already done this. I ruined like a madman, but found nothing. Anyway, what I want to do is have a TreeView in the first column of the GridView using WPF that can expand and collapse, and this will show / hide the row it belongs to, pretty much something like this ( demo for ASP. NET, I want to be able to do the same in WPF):

demo DevExpress

We bought Infragistics controls from our company, but it doesn't have a built-in solution, we try not to spend a lot of time coding this solution.

Thank!

0


source to share


2 answers


You may not be using the correct search terms ... IMO what you are really looking for is not a GridView with a TreeView inside it, but a TreeView with columns.

Here are some examples of TreeViews with columns (often called TreeList or TreeListView):



+1


source


Infragistics supports a similar scenario, see overview - for WinTree management.



They can also do this for the grid (see the Hierarchical Display section).

0


source







All Articles