Your contextObj has no attribute with the name ‘New’, therefor it finds no object and thus cannot read properties. Change it to
rowObj.get("OrderStatus")===contextObj.get("OrderStatus");
And if that does not solve it, then you can open the inspector in your browser (F12), find the piece of javascript and debug it.
Or with trial and error attempt to do this first with the most simpel statement: “return true;”, should turn your cell into background-danger. Then “ return rowObj.get("OrderStatus")==’<yourcellcontents>’, see what happens. And so on.
Hej Tim,
Solved the Problem with
return rowObj.get("OrderStatus") == "_New";
The underline was missing.
Thanks for you Help
Best Regards