Change datagrid row class from code

Hello,
can I somehow change class of a row from function outside of datagrid based on data inside of that row?

RowRender event might help you:

I have search function that will highlight row based on value in a cell. I dont think RowRender would work.

This is exactly for what RowRender should be used. Check the demo again.