Why the Grid Cell Styler widget doesnt work (simple example)?

1
I’m trying to use Grid Cell Styler to change the color of the text in the data grid, but it doesn’t work.   In this example, if the integer attribute “Difference” is bigger than 2, I want to apply a class to the cell, which will make the text red. But I get the following error in the console: “Cannot read properties of null (reading 'className') TypeError: Cannot read properties of null (reading 'className')”. What am I doing wrong and how to fix it?   Here is the screenshot: https://ibb.co/SnHhNLh
asked
1 answers
0

Hi Maxim,

 

I think the “Name” field should be populated with the column name under General/Common:

 

Also, you will have to check this, but I think you don't need to include the . in front of the class to add, but I'm not 100% sure there.

answered