Get aggregate values

Hello,
I'd like to inquire if any methods exists that I can use to retrieve aggregates. I have a row of aggregates that I would like to keep tab of in a database table, but so far I have not found a method to ask for them directly. Is there any way to do that without asking for each of them without querying the html or recalculating the values based on data?

Thank you


1 Reply

KM Kishore Muthukrishnan Syncfusion Team July 18, 2025 08:37 AM UTC

Hi ,


Greetings from Syncfusion Support,


We understand that you would like to retrieve aggregate value. To retrieve the aggregate values from the grid, you can access them through the footerRenderer in the aggregateModule. Please refer to the below code snippet and sample for more information.


document.getElementById('show').onclick = function() {

        console.log(grid.aggregateModule.footerRenderer.aggregates);

    }



Sample : https://stackblitz.com/edit/vq4th6ah?file=index.html,index.js
 

If you need further assistance, feel free to let us know!


Regards,

Kishore Muthukrishnan


Loader.
Up arrow icon