Have you tried CellValueChanged event of a row. If you’re hooking into events then you’d have to add a handler to each row in your grid and then the data row would be the sender, but that’s not very efficient and easy to work with. A better way would be to inherit from the Xceed.Grid.DataRow class and create your own row. In that way when a cell value changes you can change the colour of the current row with minimal code and effort.
protected override void OnCellValueChanged(System.EventArgs e)
BackColor = System.Drawing.Color.White;
BackColor = System.Drawing.Color.Red;
It’s an idea anyway.
Imported from legacy forums. Posted by Chris (had 273 views)