Hello,I try to change the CssClass property of a cell row from the event initializerow. The class is taken into account in the resulting page, but it is not applied.Why? and how to apply the classroom?
Sincerely
Hello,
I have a suggestion:
void UltraWebGrid1_InitializeRow(object sender, RowEventArgs e)
{
//You can get a reference to each cell form the given row of the grid and apply style.
e.Row.Cells[0].Style.BackColor = Color.Blue;
e.Row.Cells[0].Style.BorderColor = Color.Red;
}
Hope it helps you.
yes as it works by cons if you want to use the CssClass property that does not work.
e.row.Cells[0].Style.CssClass = "MyClass";