More Samples
Download Wijmo

Chaining Filters

The CollectionView.filter property allows you to specify one filtering function for the collection.

In some cases, you may want to use two or more independent filter functions. For example, you may want to apply a filter on the incoming data and let the FlexGridFilter apply a second level of filtering to the data.

To achieve this, you can chain multiple CollectionView objects so the output of one collection serves as input for the next.

This example creates a view collection with a filter based on an input field, and a second view2 collection based on the first collection's output. It binds a grid to second collection which has an additional, independent filter: