title: how to pre-set column filter in ag-grid
body: <p>I have an <code>Ionic/Angular</code> app using <code>ag-grid</code>. I would like certain grids to have a filter automatically applied when the grid is loaded - without the user having to do anything.</p>
  
  <p>I tried the following:</p>
  
  <pre><code>onGridReady(params) {
    params.api.sizeColumnsToFit();
    // get filter instance
    var filterComponent = params.api.getFilterInstance("isActive");
    // OR set filter model and update
    filterComponent.setModel({
      type: "greaterThan",
      filter: 0
    });
    filterComponent.onFilterChanged();
  }
  </code></pre>
  
  <p>but it did nothing. Any ideas?</p>