Showing only selected Nodes

1 posts, 0 answers
  1. Simon Allport
    Simon Allport avatar
    32 posts
    Member since:
    Aug 2009

    Posted 26 Nov 2009 Link to this post

    Hi,
    I am trying to build a  tree view and it works fine with just a normal datatable bound to it and shows everything. But I want to be able to pass a value such as '3' to the parent value and then for the treeview to show me all the child records under 3 and also all there  grandchildren.


    ID        ParentID
    1            Null
    2             1
    3             1
    4             3
    5             3
    6             4
    7             6  
    8             5

    I hope that makes sense


    Thanks

    Simon
Back to Top