title: Sencha Touch: How to read certain record from the store?
body: <p>I have an application that has 3 level of data depth: </p>
  
  <ul>
  <li>list of presentations</li>
  <li>presentation detail</li>
  <li>presentation slides</li>
  </ul>
  
  <p>Right now when user came to the app he's presented with list loaded from JSONP store. He click on one item and the callback function receives the record. It pushes it into new view - the detail and displays it. User can disclose presentation slides from there - data record is passed from detail again. </p>
  
  <p>Problem is when user refreshes the page or came from URL. If he came to url like /presentations/slides/1, he wants to see the slides for presentation id:1. Problem is that as long as he wasn't at the list, data was not loaded and because it was not loaded, it was not passed to the detail and the detail didn't pass it along to the slides view. So I have no data. </p>
  
  <p>But I still have the ID! Comming from the PHP's Zend Framework, I would call something like: <code>this.store.find(1)</code>, but I can't find any way to do this. </p>
  
  <p>How do I load something from the store based on it's <code>record.data.id</code>? </p>
  
  <p>To add more, <code>store.load()</code> seems to work asyncronously, so when I do:</p>
  
  <pre><code>store.load();
  store.each(function(rec){console.log(rec);});
  </code></pre>
  
  <p>It wouldn't work with JSONP store, because the data is not loaded yet. But when I use Chrome Debuger and pause the execution to let the data load, it works :( </p>