Custom aggregate group

Posted by: rodrigo.oliveira on 4 October 2021, 10:21 am EST

    • Post Options:
    • Link

    Posted 4 October 2021, 10:21 am EST - Updated 3 October 2022, 12:25 pm EST

    Good morning,

    I need to customize the totalizer when the grouping is done (as per item 1 in the image).

    In the grand totalizer (item 2), I can customize/do calculations other than the defaults (sum, avg).

    What I need is to customize the calculations in item 3.

    How to proceed?

    Thanks

  • Posted 5 October 2021, 7:44 am EST

    Hello,

    As per my understanding, you want to change the formatting of the grouped row values for certain columns, if so then you may handle the formatItem event of FlexGrid and set the cell values for those cells. Please refer to the sample link below demonstrating the same:

    https://stackblitz.com/edit/angular-at6kya?file=src%2Fapp%2Fapp.component.ts

    Please refer to the “download” column’s grouped rows for reference. You can also set the formatting for the entire column using the format property of the Column(please refer to the “discount” column for reference)

    Let us know if that fulfills your requirements.

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels