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 actually created the styles using the designer. So, the code resembles your second example, except that the styles are created before .Add is called.

I am adding data to the grid manually using DataRows.AddNew()

 

If a column is initially set to sort, or I subsequently click a column header to sort, the cell backcolours get scattered around the grid, the color no longer applies to a row.

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