Forum Discussion

zohebakber's avatar
zohebakber
Cloud Apps
02-13-2023
Solved

Dynamic heat map for Gradient color in pivot

Hi Team, I am creating a gradient heat map for pivot and using this script. But, this only works for the second column. I tried to tweak the var tag but it's not working, can anyone help me with thi...
  • harikm007's avatar
    02-13-2023

    Hi zohebakber ,

    Try replacing the line

    var tags = $('.table-grid__cell--col-parent-sibling-last', element);

    with

    var tags = $('.table-grid__cell--col-parent-sibling-even,.table-grid__cell--col-parent-sibling-odd', element);

    -Hari