Hi Bernard,
Thanks for contacting Syncfusion support.
We have validated the provided code example and screenshot. You can achieve your requirement by using the following way. Please find the code example for your reference.
function queryCellInfo(args) {
if (args.data["OrderID"] % 2 == 0) {
args.cell.classList.add("e-cus"); // add the custom class for the specific element
}
}
In the above code example , we have added the custom class for the specific element based on that condition. Use following CSS to apply the own style for the specific element.
<style>
.e-grid .e-cus.e-rowcell,
.e-cus.e-rowcell a{
background-color:pink;
color: white
}
</style>
Please get back to us, if you need further assistance
Regards,
Balaji Sekar