I used pinned bottom row data as a Footer to display the summation of rows in AG-grid, but the problem is, I cant rest the value of pinned Row (the summation is a JSON Object contains the summation values that have been already calculated from Backend).
How could I resolve that without using Aligned Grid as Footer?
Note: the recived summation are not static will changed based on selected ID from drop down list
this._myService.getProjectSummation("",[],selected,selected).subscribe(data=>{
this.gridApi.setPinnedBottomRowData([]);
this.gridApi.setPinnedBottomRowData(JSON.parse(data));
});
What I did similar to this Link but in my code, the pinned raw data values are not static it will change based on selected Option from Select