Skip to main content

PivotGridScrollingBuilder.Mode(PivotGridScrollingMode) Method

Specifies the scrolling mode. Mirrors the client-side mode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PivotGridScrollingBuilder Mode(
    PivotGridScrollingMode value
)

Parameters

Name Type Description
value PivotGridScrollingMode

The option value.

Returns

Type Description
PivotGridScrollingBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().PivotGrid()
    .Scrolling(scrolling => scrolling
        .Mode(PivotGridScrollingMode.Standard)
    )
)
See Also