Grid Cell Stlyer Error.

1
Hello! I am getting a “Cannot read property 'className' of null” error when trying to use the Grid Cell Styler widget from the app store. I have attached a screenshot of the format of my rules (all of them are like this, just referencing different columns). I am checking if "isLatest” attribute is set to true then apply background-color: green. Can anyone suggest , How to fix it? Any help would be appreciated. Thanks & Regards Bhanu Chauhan
asked
3 answers
1

Hi Bhanu,

For your rule, the column name is set incorrectly. You have to use this field on the column properties (double click the column in the datagrid to get to the properties).



Here is a test project too:

https://drive.google.com/file/d/11f2XdKT4B0_S1J4Q7gTS4nMbjV0L23Jv/view?usp=sharing


Hope this helps!

answered
0

hi ,

Do you fixed this issue?  i have same problem with you , and i don’t know how to fix this .

answered
0

I had a similar error when I had the cell styler inside a container below the data grid. The problem went away when I moved the cell styler out of the container so it was on the same level as the data grid. You may want to try removing any containers around the cell styler that don’t encompass the data grid.

answered