Edit this page

Pinned Columns

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.


radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.Right);

radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.Right)

The result is that the column is pined to the right.

virtualgrid-pinned-columns001

To unpin a row you just need to set its pin position to none.


radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.None);

radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.None)

See Also