Skip to main content
A newer version of this page is available. .

PivotGridFieldChooserBuilder.Layout(PivotGridFieldChooserLayout) Method

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