WebPrefilter.CriteriaString Property
Gets or sets the Prefilter‘s filter string.
Namespace: DevExpress.Web.ASPxPivotGrid.Data
Assembly: DevExpress.Web.ASPxPivotGrid.v21.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A String value that specifies the Prefilter‘s filter string. |
Remarks
The Prefilter‘s expression can also be specified via the WebPrefilter.Criteria property.
protected void Page_Load(object sender, EventArgs e) {
if (!IsPostBack && !IsCallback)
//ASPxPivotGrid1.Prefilter.Criteria =
// CriteriaOperator.Parse("fieldOrderYear = 1995 AND fieldOrderQuarter between (2, 4)");
ASPxPivotGrid1.Prefilter.CriteriaString =
"fieldOrderYear = 1995 AND fieldOrderQuarter between (2, 4)";
}
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CriteriaString property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.