previous set properties go away or sort or filtering

Oscar Ward shared this problem 2 years ago
Solved

Hello,


I have a data grid where i set a cel's background color based on value it contains.


when fieldx=val change style Background .......


val=(3=red 2=yellow and 1=green)


that part works fine, but when i sort the grid the colors are removed and will only reapply if the page is loaded again.


Ive tried adding the actions to on change, to the sort functions but the color will not stay.


does anyone know how to keep the color set?


thanks