18
Views
0
Comments
Dynamique DataGrid with SubGrid
Question

Hello bonjour,


I'm having a bit of trouble with DataGrid. I have a simple data model where I have an undefined number of constructors and an undefined number of lists.

For each list, I can input undefined specific data for each constructor.

Something like that


I created a small utility like that to fetch data for the JSON, as described in the documentation. 

{"data":[{"ListeConstructeur":2,"Name":"Diamètre Objo ","Constructeur":[{"Id":2,"Name":"Canon"},{"Id":1,"Name":"Nikon"},{"Id":3,"Name":"Sony"}]},{"ListeConstructeur":1,"Name":"Monture","Constructeur":[{"Id":2,"Name":"Canon"},{"Id":1,"Name":"Nikon"},{"Id":3,"Name":"Sony"}]}],"metadata":{"ListeConstructeur":"Int64","Name":"String","Constructeur":"ium.RLConstructeurList"}}


and i have that 


I'm pretty sure I missed something 



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.