DataGridScrollingBuilder.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 DataGridScrollingBuilder ColumnRenderingMode(
GridColumnRenderingMode value
)
Parameters
Name | Type | Description |
---|---|---|
value | GridColumnRenderingMode | 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
.ColumnRenderingMode(GridColumnRenderingMode.Standard)
)
)
See Also