Heat Map in FlexGrid

Posted by: ralph.ramos on 4 September 2019, 7:24 am EST

    • Post Options:
    • Link

    Posted 4 September 2019, 7:24 am EST

    Hi,

    Does the FlexGrid have some built-in functionality for a heat map? Just like the one in Excel?

    Regards,

    Ralph

  • Posted 5 September 2019, 12:37 am EST

    Hi Ralph,

    You may use the formatItem event of change the background color of the cells with appropriate colors. To get the color of the current cell, you may find the percentage of the current value and using this, you may calculate the RGB value for the color. Please refer to the sample below:

    https://stackblitz.com/edit/js-9erw18

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels