filter( )


Creates a filter to be used with datasets and aggregations.

The filter() function builds a filter to be applied to a dataset or an aggregation, and returns a WixDataFilter object. The returned object contains the filter definition and is used with the setFilter() function.

When working with Wix app collections, check which fields can be used in a filter.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:WixDataFilter
Did this help?