How to make datagrid support tree

Nov 19, 2008 at 11:32 AM
Edited Mar 9, 2009 at 6: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 1: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 6:15 AM
The link of the source code is updated.