title: How to clear Ext JS store without affecting/deleting records in the server
body: <p>I have a Ext JS grid store with <code>autosave</code> set to <code>false</code>.</p>
  
  <p>I want to clear ONLY the local store, without affecting/deleting records in the server.</p>
  
  <p>If I try <code>store.removeAll()</code>, then when the next store write occurs, all records are deleted.</p>
  
  <p>How to call <code>store.removeAll</code> with clearing all pending changes after it? </p>