Posted 15 August 2019, 2:07 pm EST
I have a FlexGrid #flex bound to a data set that includes childItems.
I’m using the [aggregate]=“‘Sum’” binding on the columns, and injecting a group row below the data.
this.flex.columnFooters.rows.push(new wjcGrid.GroupRow());
this.flex.bottomLeftCells.setCellData(0, 0, 'Σ');
The Sum function only calculates the sum of the highest level items and doesn’t include the childItems - is there a way to have the aggregate function recurse down through the data, or if I generate a flattened array of the data, can I have the footer groupRow get the totals from that flattened copy of the data instead?