AG Grid Cell Background Color from Value

I want to color the background of a cell based on the value which is contained within it. I have a function which returns the rgb I want given a value, but I’m having a hard time getting to actually apply the cellStyle. Any help on how I can do this would be great thanks!

1 Like

:wave: Hi! have you tried the documentation? There are plenty of examples to styling, maybe there it is what you are looking for…
Dash-AG-Grid

You can also find more examples here:

1 Like