Hi Maxim Velichkin,
I found solution has been provided by Tim v Steenbergen for the same question-
He suggested to use the GridCellStyler widget from appstore to styling cells or rows of data grid.
I haven’t tried it yet, but seems to be interesting and surely excited to try it out.
Hope this helps you.
the solution Rahul is suggesting is probably the solution you’re looking for.
In addition to his answer, I added some printscreens of the functionality.
Editing the rule:
In my case a nanoflow gives the boolean to apply styling or not.
for the datagrid columns you can directly write the dynamic classes based on your conditions you wish don't add the default class to the column create two classes green and red where based on if else condition in the dynamic classes.
if the above solution not works
use the above link for probable solution.