New to Telerik UI for WinForms? Start a free 30-day trial
Pinned Columns
Updated over 6 months ago
RadVirtualGrid columns can be pinned so that the rows appear anchored to the left or right of the grid. To pin a column you should use the SetColumnPinPosition method where you just need to pass the column index and the desired pin position.
C#
radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.Right);
The result is that the column is pined to the right.

To unpin a row you just need to set its pin position to none.
C#
radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.None);