Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1160
Hierarchical data --> fully expanded treeview
posted

Hi,

I have hierarchical data that I need to display as nested hierarchies.  I'm currently letting the xamDataGrid display it a a treeview but would like the nodes to be fully expanded always without the option to collapse.  So the questions are how do I force the treenodes to fully expand initially and how do I hide the expansion indicators (+/-)?  Or is there a better way to do this?  I'm open to any and all creative ideas.

 Secondly, I need to combine two datafields into one for display (i.e city, state).  Does the databinding support this in some way or do I have to create a property (I'm displaying a hierarchy of objects with nested collections of objects) in the object that does the concatenation?   I've read the help about complex data and I don't think my need is addressed by it and I saw another post that expressed the same need and it was never responded to.  Any ideas?

 Thanks!

Glenn