PivotGridFieldChooserBuilder.Layout(PivotGridFieldChooserLayout) Method
Specifies the field chooser layout. Mirrors the client-side layout option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public PivotGridFieldChooserBuilder Layout(
PivotGridFieldChooserLayout value
)
Parameters
| Name | Type | Description |
|---|---|---|
| value | PivotGridFieldChooserLayout | The option value. |
Returns
| Type | Description |
|---|---|
| PivotGridFieldChooserBuilder | 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