Home Forums WinForms controls Xceed Grid for WinForms Sort on 2 columns? Reply To: Sort on 2 columns?

Xceed Support
Member
Post count: 5658

Hello,

Yes. Via code, you simply need to add the columns you want to sort by to the grid’s SortedColumns collection.

Via the designer, you can use the ColumnManagerRow. Holding the shift key while clicking on the corresponding column’s ColumnManagerCell will sort the grid according to the values of the columns.

I hope this helps!

Imported from legacy forums. Posted by Jenny [Xceed] (had 426 views)