Wijmo flexgrid aggregate avg without zeros

Posted by: info on 18 January 2025, 9:34 am EST

    • Post Options:
    • Link

    Posted 18 January 2025, 9:34 am EST - Updated 18 January 2025, 12:49 pm EST

    Hello.

    I have a data array in flexgrid with sum aggregate row 22 and 9.

    22 9

    5 3

    6 2

    0 0

    7 3

    4 1

    0 0

    I want to write the result of the value col2/col1 * 100 (9/22 * 100=4,90) in the third aggregate column

  • Posted 20 January 2025, 1:07 am EST

    Hello,

    For this, please refer to the Custom Aggregate sample of Flex Grid: https://developer.mescius.com/wijmo/demos/Grid/Overview/purejs

    For reference, Based on your requirement I have also created a sample application and attached it along with.

    Sample Link: https://stackblitz.com/edit/js-knkvuyqh?file=index.js

Need extra support?

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

Learn More

Forum Channels