------------------------------------------------------------------------thing1
I have a grid I can bind to a collection (parent).
Each item in that parent collection has another collection (child) on it.
The child collection will be of the same length for each item in the parent collection but not necessarily any object containing the parent collection.
e.g.
Main Object
----------------Parent Collection
----------------------------------------item1--Child Collection
------------------------------------------------------------------------thing1
------------------------------------------------------------------------thing2
------------------------------------------------------------------------thing3
----------------------------------------item2--Child Collection
------------------------------------------------------------------------thing1
------------------------------------------------------------------------thing2
------------------------------------------------------------------------thing3
----------------------------------------item3--Child Collection
------------------------------------------------------------------------thing1
------------------------------------------------------------------------thing2
------------------------------------------------------------------------thing3
So I want my grid to be like this
item1.Date thing1.value thing2.value thing3.value item1.Description item1.Name
item2.Date thing1.value thing2.value thing3.value item2.Description item2.Name
item3.Date thing1.value thing2.value thing3.value item3.Description item3.Name
Of course another object may exist where there are fewer than 3 things on each item.
Is there a way of doing this declaratively?
I have a grid I can bind to a collection (parent).
Each item in that parent collection has another collection (child) on it.
The child collection will be of the same length for each item in the parent collection but not necessarily any object containing the parent collection.
e.g.
Main Object
----------------Parent Collection
----------------------------------------item1--Child Collection
------------------------------------------------------------------------thing1
------------------------------------------------------------------------thing2
------------------------------------------------------------------------thing3
----------------------------------------item2--Child Collection
------------------------------------------------------------------------thing1
------------------------------------------------------------------------thing2
------------------------------------------------------------------------thing3
----------------------------------------item3--Child Collection
------------------------------------------------------------------------thing1
------------------------------------------------------------------------thing2
------------------------------------------------------------------------thing3
So I want my grid to be like this
item1.Date thing1.value thing2.value thing3.value item1.Description item1.Name
item2.Date thing1.value thing2.value thing3.value item2.Description item2.Name
item3.Date thing1.value thing2.value thing3.value item3.Description item3.Name
Of course another object may exist where there are fewer than 3 things on each item.
Is there a way of doing this declaratively?