Aggregating on subRows
I have a use case where the parent row is an aggregation of the child rows. I'm reading the docs on aggregations but I can't find any examples of leaving child rows to render themselves, but aggregate the parent column. As a result, my current accessor is very complicated. e.g.
As you can see, I have to do conditional checking to see if it's a child row or a parent row and I feel like there must be an easier way to do this. The calculate functions conditionally check if they're a parent or child row by checking the children property.
0 Replies