Skip to main content

TreeListScrollingBuilder.ColumnRenderingMode(GridColumnRenderingMode) Method

Specifies the rendering mode for columns. Applies when columns are left outside the viewport. Requires the columnWidth, columnAutoWidth, or width (for all columns) property specified. Mirrors the client-side columnRenderingMode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListScrollingBuilder ColumnRenderingMode(
    GridColumnRenderingMode value
)

Parameters

Name Type Description
value GridColumnRenderingMode

The option value.

Returns

Type Description
TreeListScrollingBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().TreeList()
    .Scrolling(scrolling => scrolling
        .ColumnRenderingMode(GridColumnRenderingMode.Standard)
    )
)
See Also