Home Forums WinForms controls Xceed Grid for WinForms Sorting messes up alternate row styles Reply To: Sorting messes up alternate row styles

User (Old forums)
Member
Post count: 23064

I have investigated further, and I think the problem is related to some events I handle which try to change the backcolor of the row. e.g; if the cell value increases, show the cell green for a second, then change back to what it was.

Problem seems to be releated to setting the color *back* to what it was. I am using cell.parentrow.backcolor to find what I should set the color back to, but I think the order of events is giving me the wrong result in some cases, while I am sorting.

 Do you have any tips on how/what I should do to resolve this?

Imported from legacy forums. Posted by RJ (had 315 views)