title: MVC jquery.dataTables Unable to get property 'className' of undefined or null reference
body: <p>I'm trying to get <code>jquery.dataTables</code> plug in to work in MVC5. <br/>
  I have added everything(library and css) and included in my bundles correctly and can verify that all is there and it works by making a second table using straight html tags. That one shows and has the dataTables base functionality. But the table I am making dynamically gets the following error:</p>
  
  <pre><code>Unhandled exception at line 669, column 8 in .../Scripts/jquery.dataTables.js
  Unable to get property 'className' of undefined or null reference. 
  </code></pre>
  
  <p>I have verified that my table id is correct. </p>
  
  <p>--Fixed</p>
  
  <p>-- Not sure how this works. But I found the problem/solution accidentally. 
  I'm going to submit this anyway in case what I found is useful. </p>
  
  <p>The THead section had one empty cell. (a <code>&lt;td&gt;&lt;/td&gt;</code> pair) that made the <code>TBody</code> section not match in count of # of cells. It would work by either adding another empty Body cell or removing the THead cell. Clearly these two items have to match one for one. </p>