ASP.NET MVC コントロールヘルプ
列の固定
コントロールの使用 > FlexGrid > FlexGridの使用 > > 列の固定

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#
コードのコピー
.PinningType(PinningType.ColumnRange)