DataGrid About changing the style of each line

Hello.
Like the OrderId on the sample page (Free Blazor Components | 60+ controls by Radzen) I have a button on the DataGridColumn.

I would like to change the color of this button depending on the conditions.

For example, when the OrderId is odd, I want to change it to Primary, and when it is odd, I want to change it to Info.

Is it possible to change the color for each line like this?
And how do you do that?
Sorry for the rudimentary question.

Since this button is defined in the column template you can set desired button style using expression. The context of the template is the data item and you can access any property. Check this demo for reference about various template expressions and styles:
https://blazor.radzen.com/datagrid-conditional-template