PivotGridFieldChooserBuilder.Layout(PivotGridFieldChooserLayout) Method
In This Article
Specifies the field chooser layout. Mirrors the client-side layout option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public PivotGridFieldChooserBuilder Layout(
PivotGridFieldChooserLayout value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Pivot |
The option value. |
#Returns
Type | Description |
---|---|
Pivot |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().PivotGrid()
.FieldChooser(chooser => chooser
.Layout(PivotGridFieldChooserLayout.Layout0)
)
)
See Also