Back to Devexpress

PivotGridBuilder<T>.Scrolling(Action<PivotGridScrollingBuilder>) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-pivotgridbuilder-1-dot-scrolling-x28-system-dot-action-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-pivotgridscrollingbuilder-x29.md

latest2.0 KB
Original Source

PivotGridBuilder<T>.Scrolling(Action<PivotGridScrollingBuilder>) Method

A configuration object specifying scrolling properties. Mirrors the client-side scrolling object.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public PivotGridBuilder<T> Scrolling(
    Action<PivotGridScrollingBuilder> configurator
)

Parameters

NameTypeDescription
configuratorAction<PivotGridScrollingBuilder>

A function that allows you to specify nested options.

|

Returns

TypeDescription
PivotGridBuilder<T>

A reference to this instance after the method is called.

|

Remarks

This method provides access to methods that allow you to configure nested options of the client-side scrolling object.

To specify nested options, use a lambda expression.

cshtml
@(Html.DevExtreme().PivotGrid()
    .Scrolling(scrolling => scrolling
        // call methods to specify nested options
    )
)

Refer to Nested Options and Collections for more information.

See Also

PivotGridBuilder<T> Class

PivotGridBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace