Hi,
I was looking at the example code shown here.
When cellclass (cellclassname) is called, instead of “return ‘red’;” for example, can the background colour be set directly such as “return {background-color: red} ?
The reason is, for my app the user selects their own colours for the cells and they will never be the same. Ideally, the colour red comes from a variable, possibly from an array.
Also, the value of the cell needs to be compared to another value in the column next to it before the colour is set. Is there a way to compare the two neighbouring column values then set the colour?
Thank you