Clearing a grid without actually removing the data in Ext JS

The following code clears a grid (with its filters) from a view controller.

Ext.define('Foo.TehViewController', {
  extend: 'Ext.app.ViewController',
  alias: 'controller.tehViewController',
 
  clearData: function () {
    var me = this,
      view = me.getView();
 
      view.getStore().clearFilter(true);
      view.getStore().removeAll(true);
      view.getView().refresh();
  }
});

This is only working if calling view.getView().refresh() otherwise the grid still displays the “old” data.