Posted 9 July 2019, 1:21 am EST
Hello
I have a JSON that contains grouped data with aggregated values, like
[
{
Name : "Group1",
Prop1 : 10, <-------aggregated value calculated on the server side
Prop2: 20, <-------aggregated value calculated on the server side
Rows: [
{ Name: "Group1", Prop1 : 4, Prop2: 11, Prop3: "ABC" },
{ Name: "Group1", Prop1 : 16, Prop2: 9, Prop3: "XYZ" }
]
},
{
Name : "Group2",
...
}
...
...
]
Is there any way to generate groups from this json?
So, what I want is to have is a flexgrid that has:
- Columns: Name, Prop1, Prop2, Prop3
- Collapsable Group1 with aggregated Prop1, Prop2 and Rows property as children data
- Collapsable Group2, etc…
Thanks