I have a requirement to add colors to the rows based on group of column values as shown below in the screenshot using AG Grid in Angular. I do not want to use row group feature here. I want to add a color for the value Test1 and different color for value Test2. The values can be dynamic. How can I achieve it?
I am using Ag grid Version 22.
If I understood correctly then you want to color the row based on the value present in column2 of your grid. For that you can do something like: