title: Ag-Grid: How to save and reload column after applying filter
body: <p>Using Ag-Grid, we can apply filter columns. I need to allow the user to save the column filter order(in sql backend). 
  I use this method, but it allows to save the column order..</p>
  
  <pre class="lang-js prettyprint-override"><code>onGridReady: function(params){
    var columnState = JSON.parse(localStorage.getItem('myColumnState'));
    var filterState = JSON.parse(localStorage.getItem('myfilterState'));
  
    if (columnState) {
      params.columnApi.setColumnState(columnState);
    }
    if (filterState) {
      params.columnApi.setsetFilterModel(filterState);
    }
  },
  
  onColumnMoved: function(params){
    var columnState = JSON.stringify(params.columnApi.getColumnState());
    var filterState = JSON.stringify(params.columnApi.getFilterModel());
    localStorage.setItem('myColumnState', columnState);
    localStorage.setItem('myfilterState', filterState);
  },
  </code></pre>