I have this:
<ig:XamTree Name="vwEqTree" Width="200"> <ig:XamTree.HierarchicalItemTemplate> <ig:HierarchicalDataTemplate x:Name="vwHClass"> <ig:HierarchicalDataTemplate.HierarchicalItemTemplate> <ig:HierarchicalDataTemplate x:Name="vwHMakes"/> </ig:HierarchicalDataTemplate.HierarchicalItemTemplate> </ig:HierarchicalDataTemplate> </ig:XamTree.HierarchicalItemTemplate> </ig:XamTree>
I would like to be able to populate the items manually with:
vwHClass.Items.Add
i.e. without the Templates I can populate the top list vwEqTree.Items.Add(obervablelist<item>)
That works, but breaks when I add the templates.
What does this look like?
Hi Foxjazz,
I am also getting same issue. I am adding dummy node every time the child node expands and loads the remaining records as a child nodes.
I am getting no problem upto level 5 but when I load level6 data but the dummy node is not have the expandable icon to display rest of the records.
please suggest me any solution on this.
I want to know is it the limitation of xamTree to display only 6 levels of data?
Thanks!
The database is sql 2012. I do hope you are on the latest version of sql server.
Unfortunately the database and code have a close relationship with the things I am doing.
I have figured out how to auto-expand after populating the leafs.
So that issue can be marked resolved.
Hello foxjazz,
I am not able to restore your database on my side, therefore I am not able to run your whole project. Would you please provide me with isolated test sample where I can research the mentioned behavior.
Thanks in advance.
Another thing I really need is to have expand indicators show on the TreeView at levels 5 and above.
And so when it is expanded, I can get the data dynamically and fill up the leaf from that level node.
Is there a way to do this without creating dummy nodes below to fool the tree into thinking it has nodes so the expander indicator shows?
My current implemntation is here:
foxjazz.net/pslite.zip
foxjazz.net/pslitedb.zip
The main thing I need is the template for the trees at all 6 levels.