ASP.NET Core MVC Controls | ComponentOne
Working with Controls / FlexGrid / Work with FlexGrid / Columns / Columns Pinning
In This Topic
    Columns 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 the PinningType property of FlexGrid. 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
    pinning-type="@PinningType.ColumnRange"