title: How to display nested objects in a GridPanel in ExtJS (and Sencha architect)?
body: <p>I've got an incoming array of Offering objects that looks like this:</p>
  
  <pre><code>[{
    "id" : 16,
    "price" : 500,
    "quantity" : 2000,
    "denomination" : "case",
    "denominationPlural" : "cases",
    "product" : {
      "id" : 14,
      "description" : "This is the text description for product 14."
    }
  }, {
    "id" : 18,
    "price" : 500,
    "quantity" : 1,
    "denomination" : "study",
    "denominationPlural" : "studies",
    "product" : {
      "id" : 17,
      "description" : "This is a text description for product 17."
    }
  }]
  </code></pre>
  
  <p>An Offering is a Product times a quantity for a price.</p>
  
  <p>Now I want to display these Offerings in a GridPanel, but also include the nested product information in those rows. Here's how I was doing it before:</p>
  
  <pre><code>Ext.define('Offering', {
              extend: 'Ext.data.Model',
              fields: [
                  {name: 'id', type: 'number'},
                  {name: 'price', type: 'number'},
                  {name: 'quantity', type: 'number'},
                  {name: 'denomination', type: 'string'},
                  {name: 'denominationPlural', type: 'string'},
                  {name: 'product.description', type: 'string'},
              ]
          });
  
  
  
  var offeringStore = Ext.create('Ext.data.Store', {
               autoDestroy: true,
               model: 'Offering',
               proxy: {
                   type: 'ajax',
                   url: '/offerings',
                   reader: {
                       type: 'json',
                       root: 'success'
                   }
               },
               autoLoad:true
           });
  
  var offeringGrid = Ext.create('Ext.grid.Panel', {
              store: offeringStore,
              columns: [{
                      header: 'id',
                      dataIndex: 'id'
                  }, {
                      header: 'price',
                      dataIndex: 'price'
                  }, {
                      header: 'quantity',
                      dataIndex: 'quantity'
                  }, {
                      header: 'denomination',
                      dataIndex: 'denomination'
                  }, {
                      header: 'description',
                      dataIndex: 'product.description'
                  },
              };
  </code></pre>
  
  <p>And this worked just fine. Then, somewhere along the way (which included an upgrade to ExtJS 5.1.1 (from ExtJS 4.2.1) and use of Sencha Architect, it broke. </p>
  
  <p>Problem 1: Sencha Architect prevents creating an entry for "product.description" in the Offering Model, complaining about the "." character. But if you create it as "whateveryouwant", you can go into the model field and rename it to "product.description" there.</p>
  
  <p>Problem 2: after working around the "." issue and running the application, the "product.description" column's cells are blank.</p>
  
  <p>Problem 3: the javascript console produces zero errors. The incoming data looks fine.</p>
  
  <p>How should I go about getting this nested data to show up?</p>