I want to display only a subset from an observable array `arrayData`
Using `ko if` I was able to apply the filter on the data:

```
<div class="image-list" data-bind="foreach: arrayData">
   <!-- ko if: type == 0 -->
    viewing only objects with attribute type==0

```

However, I don't know, how to trigger updating the view, when I want to change the filter e.g. `type == 1` 

If it possible?

P.S:

Currently I use foreach with a copy of the data, which I clear end reset in the model. But for this approach I need one observable array for each filter in the model and lot of copying