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
30
Hierarchical Data Questions
posted

I've been working with the xamDataGrid and have a few questions:

 1) I can bind to xml data, but when I make that data Hierarchical, only the parent nodes show up.  Take for example the following data:

     <Items>
         <Item Name="Apple" Color="Red" Price="$1" />
         <Item Name="Orange" Color="Orange" Price="$1" />
         <Item Name="Bag" Color="Tan" Price="$6" >
             <Item Name="Pen" Color="Blue" Price="$1" />
             <Item Name="Eraser" Color="Pink" Price="$1" />
         </Item>
     </Items>

     I have also tried child nodes with a different tag than "Item".

 2) I've noticed that all examples of hierarchical data in the xamDataGrid have column headers on each level.  Is it possible to remove the headers from the child nodes?  One forum post has lead me to believe that this is not possible.

3) Is it possible to have a completely different layout in the children?  Lets say I want a child template that is a vertical stack panel of values, or something much more complex with an image and text data layed out in some other way.

 Thanks for your help.
-Jeff