Skip to main content

MVCxPivotGridWebOptionsData.FilterByVisibleFieldsOnly Property

Gets or sets whether to take into account filter conditions of visible filter fields only.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool FilterByVisibleFieldsOnly { get; set; }

Property Value

Type Description
Boolean

true to take into account filter conditions of visible filter fields only; false to take into account filter conditions of all filter fields.

Property Paths

You can access this nested property as listed below:

Object Type Path to FilterByVisibleFieldsOnly
PivotGridSettings
.OptionsData .FilterByVisibleFieldsOnly

Remarks

By default, filter conditions of all filter fields are taken into account when filtering, regardless of the field’s visibility. Set the FilterByVisibleFieldsOnly property to true to ignore filter fields whose PivotGridFieldBase.Visible property is set to false.

The FilterByVisibleFieldsOnly property is in effect for fields located in the Filter Area only. The visibility of other fields never affects whether they are taken into account when filtering.

See Also