title: Sencha Touch - Offline Application with offlineStorage synced to a online store. Fetch online data on demand and add to offlineStoreage
body: <p>I'm just working on a web application with sencha touch. I need to implement a store (bound to a grid) which is offline available (offlineStorage) but fetches &amp; updates data online (REST) as soon as the internet connection is available. This is necessary since I have a lot of data and I do a lot remote filtering and searching on the store. I cannot load the full store from the beginning because it is too large. Preferably I'd love to use a offlineStore for a fast user experience. New filters/requests should request data from the server (online store) and update/add it to the offlineStorage to keep in sync to the server.</p>
  
  <p>Grid &lt;-bind-> Store (offlineStorage) &lt;-request remote data on new filter-> online Store</p>
  
  <p>A starting point for me is <a href="http://www.sencha.com/learn/taking-sencha-touch-apps-offline/#leave-reply" rel="nofollow">http://www.sencha.com/learn/taking-sencha-touch-apps-offline/#leave-reply</a>. However I need to trigger the online store as soon as data is loaded from the offline storage or a filter is set.</p>
  
  <p>Has anyone implemented something like this yet? Any hints/ideas how to implement it?</p>
  
  <p>I really appreciate your help!!</p>