Skip to main content

PivotGridFieldPanelTextsBuilder.DataFieldArea(String) Method

Specifies the placeholder of the data field area. Mirrors the client-side dataFieldArea option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PivotGridFieldPanelTextsBuilder DataFieldArea(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
PivotGridFieldPanelTextsBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().PivotGrid()
    .FieldPanel(panel => panel
        .Texts(texts => texts
            .DataFieldArea("Custom text")
        )
    )
)
See Also