I've been trying to change the row background color in radgridview based on a condition
[code]
if(myCondition)
{
var row = e.Row;
Style style = new Style(typeof(GridViewRow));
style.BasedOn = e.Row.Style;
}
[/code]
1 Answer, 1 is accepted
0
Yoan
Telerik team
answered on 25 Feb 2016, 01:41 PM
Hello,
The way to go is to use RowStyleSelector as demonstrated in this help article.
Regards,
Yoan
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items