ComponentOne ASP.NET MVC Controls
Working with Controls / FlexGrid / Work with FlexGrid / Pinning Columns
In This Topic
    Pinning Columns
    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. To pin columns, you can set the AllowPinning property of FlexGrid to true. This adds pin glyphs to the column headers and clicking the pin glyph freezes (or unfreezes) the columns.

     

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

    C#
    Copy Code
    .AllowPinning(true)