Skip to main content

DataGridRowDraggingBuilder.ScrollSpeed(Double) Method

Specifies the scrolling speed when dragging a row beyond the viewport. Applies only if autoScroll is true. Mirrors the client-side scrollSpeed option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DataGridRowDraggingBuilder ScrollSpeed(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
DataGridRowDraggingBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().DataGrid()
    .RowDragging(dragging => dragging
        .ScrollSpeed(10)
    )
)
See Also