Table panel : hide a column based on which coloring is done

Hi
can we hide the column based on which row coloring is done?
when I’m trying to hide the column, coloring is not being done.
Any idea how to do that?
Thanks in advance…