Is there a sample for using the xamdatatree.
I have DisplayMemberPath and checkboxes visible.
However I can't find the property to set the checkboxes to NOT checked on startup (or radio box).
Also when selected I want to be able to access the node's (selected nodes) valueMember.
There is a CheckBoxMemberPath but I don't see a valuemember path.
DisplayMemberPath is there.
Where can I get info on how todo this. I looked in the documentation and it's very sparse.
Also looking further, your example prepopulates an observablecollection totally.
We have so much data, that is unrealistic in our current situation. We need to populate the first 2 levels, and then the rest on demand.
I am finally getting to this. And am having some difficulty understanding how this can be used with EntityFramework.
The domainsource it seems is an observable collection returning enitities.
I could populate a node at a time, but this I think is inefficient.
I would like each node to have an itemsource to populate so that it takes on the behavior of the toplevelnode so that I can get the toplevel, run through the list and add observablecollections to the second level nodes.
Then on expand I will need to drill down further.
Do you have an example of this behavior?
HI,
I am just following up on this post.
Please let me know if you need further assistance.
Sincerely,MattDeveloper Support Engineer
I am attaching a Sample.
If you set the CheckBoxMemberPath to a property in our viewModel, you can initialize this property to false when you create the viewmodel. This will set all the Checkboxes to false. There is no ValuePath Property.
I am attaching a sample that will address all you issues. Sincerely, Matt
Developer Support Engineer
Ok, the other question I have is I have a query data based on the value in each of the top level nodes.
How do I get the xamdatagrid to "show" that there are child nodes, when there are none.
Yet when the user clicks on expandNode, I want to run a query to populate the child nodes.