Heat Map in FlexGrid

Posted by: ralph.ramos on 3 September 2019, 10:24 pm EST

  • Posted 3 September 2019, 10:24 pm EST

    Hi,

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

    Regards,
    Ralph
  • Marked as Answer

    Replied 4 September 2019, 3:37 pm 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