DataGridScrollingBuilder.ColumnRenderingMode(GridColumnRenderingMode) Method
In This Article
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
C#
public DataGridScrollingBuilder ColumnRenderingMode(
GridColumnRenderingMode value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Grid |
The option value. |
#Returns
Type | Description |
---|---|
Data |
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