Back to Devexpress

PivotGridFieldChooserBuilder.AllowSearch(Boolean) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-pivotgridfieldchooserbuilder-dot-allowsearch-x28-system-dot-boolean-x29.md

latest1.5 KB
Original Source

PivotGridFieldChooserBuilder.AllowSearch(Boolean) Method

Specifies whether the field chooser allows search operations in the 'All Fields' section. Mirrors the client-side allowSearch option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public PivotGridFieldChooserBuilder AllowSearch(
    bool value
)

Parameters

NameTypeDescription
valueBoolean

The option value.

|

Returns

TypeDescription
PivotGridFieldChooserBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().PivotGrid()
    .FieldChooser(chooser => chooser
        .AllowSearch(true)
    )
)

See Also

PivotGridFieldChooserBuilder Class

PivotGridFieldChooserBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace