title: Pass parameters to view
body: <p>I'm try pass some parameters to view constructor.</p>
  <p>I'm creating my object in this way: <code>new HeadCell({isSortable: true, parent: this});</code></p>
  <p>So in the HeadCell initialize:</p>
  <pre><code>initialize: function(options){
     console.log(&quot;HeadCell initialized&quot;);
     console.log(options);
     console.log(options.isSortable);
  }
  </code></pre>
  <p>The console output is:</p>
  <blockquote>
  <p>HeadCell initialized<br />
  Object {isSortable: true, parent: r}</p>
  <p>Uncaught TypeError: Cannot read property 'isSortable' of undefined</p>
  </blockquote>
  <p>Any ideas?</p>
  <p><strong>UPDATE 1</strong></p>
  <p>Im try run a little test in a fiddle, and the result is the same.</p>
  <p><a href="http://jsfiddle.net/ramiromd90/hHFP3/" rel="nofollow noreferrer">http://jsfiddle.net/ramiromd90/hHFP3/</a></p>
  <p><strong>UPDATE 2</strong></p>
  <p>I try your examples on fiddle, and works fine ! But, in my code not works.</p>
  <p>Here a fiddle with a little example of my real code:</p>
  <p><a href="http://jsfiddle.net/ramiromd90/XCK47/" rel="nofollow noreferrer">http://jsfiddle.net/ramiromd90/XCK47/</a></p>
  <p><strong>UPDATE 3</strong></p>
  <p>Thanks for all replies, the problem was that i dont pass the parameters in the loop (see the fiddle). The ways to pass parameters that us says are correct !. Thanks</p>