Styling datagrid

Hi there

I need to override the standard styling of the radzen datagrid. I need the alternating rows to be a different to the standard grey. I have tried adding a RowRender with the following code

void RowRender(RowRenderEventArgs args)
{
if(args.Index %2==1)
{
args.Attributes.Add("style", "background-color : #ffae5f");
}
}

but it doesn't have any effect. How do I change the background color for alternating rows?

Hi @jaiholloway,

Check this thread: RadzenDataGrid row styling (even/odd) - #2 by korchev