Home › Forums › WinForms controls › Xceed Grid for WinForms › How to make a data row stand still when I click a header for sorting in a Xceed Grid. › Reply To: How to make a data row stand still when I click a header for sorting in a Xceed Grid.
This is not possible.
The only workaround I can think of is that you could add a ValueRow in the HeaderRows or FixedHeaderRows collection of the GridControl, copy the values of the first row into it, and set the Visible property of this first row to false, so it does not appear twice in the grid.
This way, when you sort, the ValueRow stays on top. You place it in the HeaderRows collection if you want it to be scrollable, in the FixedHeaderRows if not.
Imported from legacy forums. Posted by André (had 875 views)