How to make datagrid support tree

Nov 19, 2008 at 10:32 AM
Edited Mar 9, 2009 at 5:14 AM
I tried to implement a tree in DataGrid, following is the source and screen snapshot of current implementation.
I want to know whether there is a easy way to draw the line to connect the sibling nodes.
Now, some vertical lines are missing.

Following is the code I referenced during development.

Mar 8, 2009 at 12:04 PM
I cannot download the code from your link. Could you please do me a favor to send it to me?
And I think vertical lines are easy to implement using images and event trigger when they are sibling nodes.
Mar 9, 2009 at 5:15 AM
The link of the source code is updated.