This example demonstrates how to use the onCellPrepared event to implement conditional formatting. The onCellPrepared event handler arguments contains the current grid cell element and grid row data, so that it is possible to modify the appearance of a cell based on the current row values.
See also:
Cell Customization Demo - JQuery, Angular, React, Vue, ASP.NET Core
Customize the Appearance of DataGrid cells
(you will be redirected to DevExpress.com to submit your response)