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
3160
Hierarchical grid with non-collection type hierarchies
posted

I have five objects that are related as follows
<ObjectA>
 List<ObjectB>
</ObjectA>

<ObjectB>
 <ObjectC>
</ObjectB>

<ObjectC>
 List<ObjectD>
</ObjectC>

<ObjectD>
 <ObjectE>
</ObjectD>

<ObjectE>
</ObjectE>

I need to create a hierarchical XamDataGrid with a DataSource of ObjectA.  Each object needs to expose its child object(s) as a hierarchical level (with an expansion control). Note that ObjectB contains a single instance of ObjectC not a collection (same with ObjectD).  How do I do this?
The only example I was able to find is this: http://ko.infragistics.com/community/forums/t/68994.aspx and I dont think it is exactly what I want.  Hopefully someone has asked this before and I just dont know what to look for.

Thanks,

Sam