title: Server side response in jQuery datatables
body: <p>I am using server side in jQuery datatables but the rows are not adding to table.its coming in ajax success ,rows are also coming in data parameter but its not adding to table.</p>
  
  <pre><code>otable = $('#siteselectiontable').DataTable({
      "serverSide": true,
      "deferLoading": 0,
      "processing": true,
      "paging": true,
      "columns": [{
          "data":"RADIO"
      },
      {
      "data":"SITE_DATA"  
      }
      ],
      "ajax": {
          success: function(data) {
              if(typeof data['error']!="undefined"){
                  bootbox.alert({
                      closeButton: false,
                      message: "&lt;div class='alert alert-danger' role='alert'&gt;" +
                          "&lt;strong&gt;Timeout Error: &lt;/strong&gt;Please refine your search" +
                          "&lt;/div&gt;"
                  });
              }
          },
          beforeSend: function() {
              $("#siteselectionfooter").after(progress);
          },
          complete: function() {
              $(".loading-mask").remove();
          }
      },
      "searching": false,
      "ordering": false,
      "lengthChange": false,
      "pageLength": 5,
      "dom": '&lt;"top"&gt;&lt;"pull-right"f&gt;t&lt;"bottom center"p&gt;&lt;"clear"&gt;',
      "fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
          $('td:eq(0)', nRow).css({
              'text-align': 'center',
              'vertical-align': 'middle'
          });
      }
  });  
  </code></pre>
  
  <p>and for the ajax call i am using the below:</p>
  
  <pre><code>table.ajax.url(url).load();  
  </code></pre>
  
  <p>how can i handle the server side error in a custom way ?<br>
  <a href="https://i.stack.imgur.com/ZNug6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZNug6.png" alt="enter image description here"></a></p>