Problem: coloring cell in AG-Grid depending on it's content #370
Unanswered
JustinWolffEKO
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I encountered a problem using AG-Grid.
I want to change the color of a cell into the grid depending on it's value.
The grid consists of 22 columns with several rows. I found a solution for JS on the official AG-Grid documentation JavaScript Data Grid: Cell Styles. In this documentation, the variant of using the Cellstyle and the CellClassRule are listed. With the Cellstyle I can only change the color of the whole column and not a special cell. The CellClassRule doesn't work at all bc I can't include the JS for that rule by using justpy.
Does anyone possibly have an idea or a solution how I can color a cell depending on it's content?
I would be very grateful.
Beta Was this translation helpful? Give feedback.
All reactions