This question is locked. New answers and comments are not allowed.
Hello,
I'm trying to recursively populate the treeview based on the data I've been provided in a table.
Basically, its a menu structure where the table is as follows:
ID, Text, ParentID
Root nodes have a parentID of -1, and children have their parentID set to the ID of their parent.
I'm trying to recursively do this however I cannot seem to get far with the binding examples, or really, any of the population examples I've seen. Can someone point me in the right direction on manually creating a TreeViewItemFactory that I can just set as the data source for the TreeView?
Regards,
Shane
I'm trying to recursively populate the treeview based on the data I've been provided in a table.
Basically, its a menu structure where the table is as follows:
ID, Text, ParentID
Root nodes have a parentID of -1, and children have their parentID set to the ID of their parent.
I'm trying to recursively do this however I cannot seem to get far with the binding examples, or really, any of the population examples I've seen. Can someone point me in the right direction on manually creating a TreeViewItemFactory that I can just set as the data source for the TreeView?
Regards,
Shane