title: DataTables warning: Requested unknown parameter '4' from the data source for row ''
body: <p>Are Days and days that I'm looking for this problem, but nothing resolved it!
  This warning appear after the add of a Student to my Database. The persist of the Data is Ok, so i need to hide this error or adjust it. 
   So i have a Datables that give me this error: </p>
  
  <p><img src="https://i.stack.imgur.com/QEFRW.png" alt="enter image description here"></p>
  
  <p>This is my html code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function () {
  
          $("#companies").dataTable({
              "bServerSide": true,
              "sAjaxSource": "/studentiSource",
              "bProcessing": true,
              "sPaginationType": "full_numbers",
              "bJQueryUI": true,
              "aoColumns": [
                            {  "sName": "ID", "mDataProp": null,
                               "bSearchable": false,
                               "bSortable": false,
                               "bVisible": false
                                   },
                    { "sName": "NOME",},
                    { "sName": "COGNOME"},
                    { "sName": "USERNAME"},
                    { "sName": "PASSWORD" },
                    { "fnRender": function (oObj) {
                        console.log(oObj);                          
                        return '&lt;a href=${pageContext.request.contextPath}/modificaStudente.jsp?id=' + oObj.aData[0] + '&gt;' + 'Gestisci' + '&lt;/a&gt;';
                      }}
  
                   ]
       }).makeEditable({
           sUpdateURL : "/updateStudenti" ,
           sAddURL: "/studenteServlet",
           sDeleteURL: "/deleteStudenti",
           fnShowError: function (message, action) {
               switch (action) {
                   case "update":
                       jAlert(message, "Update failed");
                       break;
                   case "delete":
                       jAlert(message, "Delete failed");
                       break;
                   case "add":
                       $("#lblAddError").html(message);
                       $("#lblAddError").show();
                       break;
               }
           },
           fnStartProcessingMode: function () {
               $("#processing_message").dialog();
           },
           fnEndProcessingMode: function () {
               $("#processing_message").dialog("close");
           }
        });
                  });
  </code></pre>
  
  <p></p>
  
  <p>And the table is: </p>
  
  <pre><code> &lt;div id="container"&gt;
          &lt;div id="demo_jui"&gt;
          &lt;button id="btnAddNewRow" value="Ok"&gt;Aggiungi nuovo studente...&lt;/button&gt; 
          &lt;button id="btnDeleteRow" value="cancel"&gt;Rimuovi utente selezionato&lt;/button&gt;
          &lt;div id="processing_message" style="display:none" title="Processing"&gt;Attendere.. Caricamento dati in corso&lt;/div&gt;
              &lt;table id="companies" class="display"&gt;
                  &lt;thead&gt;
                      &lt;tr&gt;
                          &lt;th&gt;ID&lt;/th&gt;
                          &lt;th&gt;Nome&lt;/th&gt;
                          &lt;th&gt;Cognome&lt;/th&gt;
                          &lt;th&gt;Username&lt;/th&gt;
                          &lt;th&gt;Password&lt;/th&gt;
                          &lt;th&gt;Dispense&lt;/th&gt;
  
  
                      &lt;/tr&gt;
                  &lt;/thead&gt;
                  &lt;tbody &gt;
  
                  &lt;/tbody&gt;
              &lt;/table&gt;
          &lt;/div&gt;
  
  
          &lt;form id="formAddNewRow" action="#" title="Aggiungi nuovo studente"&gt;
                      &lt;label id="lblAddError" style="display:none" class="error"&gt;&lt;/label&gt;
  
              &lt;input type="hidden" id="id" name="id" value="-1" rel="0" /&gt;
              &lt;input type="hidden" value="aggiungi" name="action"&gt;
              &lt;label for="name"&gt;Nome&lt;/label&gt;&lt;input type="text" name="nome" id="name" class="required" rel="1" /&gt;
              &lt;br /&gt;
              &lt;label for="name"&gt;Cognome&lt;/label&gt;&lt;input type="text" name="cognome" id="address" rel="2" /&gt;
              &lt;br /&gt;
              &lt;label for="name"&gt;Username&lt;/label&gt;&lt;input type="text" name="username" id="postcode"/&gt;
              &lt;br /&gt;
              &lt;label for="name"&gt;Password&lt;/label&gt;&lt;input type="text" name="password" id="town" rel="3"/&gt;
              &lt;br /&gt;
  
          &lt;/form&gt;
  
      &lt;/div&gt;
  </code></pre>
  
  <p>I'm using Datatables 1.9.4 </p>