Is there a way to lazy load the child nodes in a XamDataTree? Basically, I would like the XamDataTree to delay asking for the children of a particular node until the user expands that node.
This seems to be the default behaviour the XamDataGrid, but I don't see a way to accomplish this using the XamDataTree.
Thanks,
-David Paquette
Hello dpaq,
XamDataTree does not support lazy loading out of the box, however you could hook up to XamDataTree.NodeExpansionChanged event and load your data in it. You should keep at least single element in your child collections which will make xamDataTree to show the expansion indicator.
I have attached a sample solution you could take a look at!
HTH