title: Passing arguments to a window in ExtJs 6?
body: <p>I would like to a pass a record from a grid to a window that I create,</p>
  
  <pre><code>Ext.create('MyWindow',
      {recordRef: record}).show();
  </code></pre>
  
  <p>where <code>record</code> is an argument that is passed into my <code>rowdblclick</code> function but when I try to access <code>recordRef</code> (like below) during debugging, it is undefined.</p>
  
  <pre><code>var me = this;
  var record = me.getView().recordRef;
  </code></pre>
  
  <p>The code fragment above is in a controller for <code>MyWindow.js</code></p>