title: Sencha touch 2 - Displaying a nested Model in a DataView
body: <p>I have a model that represents a user. The user has some personal fields (name, family) and another Model as hasMany (his phones, for example).</p>
  
  <p>Something like that:</p>
  
  <pre><code>Ext.define('MyApp.model.User', {
      extend: 'Ext.data.Model',
      config: {
          fields: ['ID', 'Name', 'Family'],
          hasMany: { model: 'MyApp.model.Phone', name: 'Phones', associationKey: 'phones' }
     }
  });
  
  Ext.define('MyApp.model.Phone', {
      extend: 'Ext.data.Model',
      config: {
          fields: ['ID', 'Phone', 'Type']
     }
  });
  </code></pre>
  
  <p>Now, I'd like to load it to a dataview (which I did successfully) and would like to show the user info, then the list of the phones that belong to him and when a user taps a phone - to show it using a layout (or message, or anything - the point is to get it's ID)</p>
  
  <p>The problem is that when I use itemtap it gets me the whole record, including the user info and all the phones - so I can't really know what phone was tapped.</p>
  
  <p>To show the user info I just use the itemTpl that shows the info and then lists all the phones.</p>
  
  <p>So - how can I know what phone was tapped?</p>
  
  <p>Thanks!
  Roman</p>