I have a collection of object (Entity) which contains a sub-collection (Result is Double[]).
I want to display my collection of Entities (Entity) in a DataGrid (or others control) and I want to show my sub-collection in the same line (each value in my sub collection corresponding to a column)
Ex [EDIT] :
Entity name | Entity Value | Result1 | Result2 | ... | Result n
_______________________________________________________________
My Name | MyValue | 1 | 2 | ... | 3
My Name II | other Value | 10% | 20% | ... | 30%
I am using actually a solution based on ICustomTypeDescriptor and PropertyDescriptor described in this thread but it's not appropriate because we want to edit the values in DataGrid, and it's very complicated to maintain and to make evolve too.