RA
Rajagopal
Syncfusion Team
October 25, 2007 11:14 PM UTC
Hi Stephane,
You can try the grid.Model.QueryCellInfo event to change the styles for the row and column in grid. You can change the values in grid dynamically using this event. Use the e.RowIndex to point any row and e.ColIndex to point any column in grid.
void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
if (e.RowIndex == 3 && e.ColIndex > 0)
{
e.Style.BackColor = Color.Red;
e.Style.CellValue = "Some Value";
}
}
Let me know if you have any questions.
Regards,
Rajagopal