title: Datatables showing error but displaying data incorrectly
body: <p>I am using DataTables to show very simple data, Datatables is giving the following error:</p>
  
  <p>DataTables warning: table id=example - Requested unknown parameter 'County' for row 0, column 1. For more information about this error, please see <a href="http://datatables.net/tn/4" rel="nofollow noreferrer">http://datatables.net/tn/4</a></p>
  
  <p>Here is my code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var res = [{
      "School": "London"
    },
    {
      "County": "South Yorks"
    },
    {
      "Country": "UK"
    }
  ];
  
  $(document).ready(function() {
    $('#example').DataTable({
      data: res,
      "columns": [{
          "data": "School"
        },
        {
          "data": "County"
        },
        {
          "data": "Country"
        },
      ]
    });
  
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js" integrity="sha256-VeNaFBVDhoX3H+gJ37DpT/nTuZTdjYro9yBruHjVmoQ=" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css" /&gt;
  &lt;div class="container-fluid"&gt;
    &lt;div class="row"&gt;
      &lt;table id="example" class="display" style="width:100%"&gt;
        &lt;thead&gt;
          &lt;tr&gt;
            &lt;th&gt;School&lt;/th&gt;
            &lt;th&gt;County&lt;/th&gt;
            &lt;th&gt;Country&lt;/th&gt;
          &lt;/tr&gt;
        &lt;/thead&gt;
        &lt;tfoot&gt;
          &lt;tr&gt;
            &lt;th&gt;School&lt;/th&gt;
            &lt;th&gt;County&lt;/th&gt;
            &lt;th&gt;Country&lt;/th&gt;
          &lt;/tr&gt;
        &lt;/tfoot&gt;
      &lt;/table&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any help ideas?</p>
  
  <p>Thanks</p>