Skip to main content

DataGridScrollingBuilder.RowRenderingMode(GridRowRenderingMode) Method

Specifies the rendering mode for loaded rows. Mirrors the client-side rowRenderingMode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DataGridScrollingBuilder RowRenderingMode(
    GridRowRenderingMode value
)

Parameters

Name Type Description
value GridRowRenderingMode

The option value.

Returns

Type Description
DataGridScrollingBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().DataGrid()
    .Scrolling(scrolling => scrolling
        .RowRenderingMode(GridRowRenderingMode.Standard)
    )
)
See Also