ComponentOne ASP.NET MVC Controls
Working with Controls / FlexGrid / Work with FlexGrid / Columns / Column Pinning
In This Topic
    Column Pinning
    In This Topic

    FlexGrid allows you to pin columns to the left of the grid so they remain visible as you scroll the grid horizontally. Pinning the columns adds pin glyphs to the column headers and clicking the pin glyph freezes (or unfreezes) the columns. To pin columns in FlexGrid, you can use PinningType property of the FlexGrid class. This property accepts value from the PinningType enumeration, which are described as follows:

    Pinning a range of columns

    To pin a column range in FlexGrid, use the following code. This example uses the sample code used in Quick Start.

    C#
    Copy Code
    .PinningType(PinningType.ColumnRange)