title: Datatable show all rows gives warning table id Invalid json response
body: <p>I have the following datatable. All works ok for the selection of the rows. Say for 10 row,20 rows and 50 rows. When comes to show all rows I get the following error message"
  DataTables warning: table id=dashboardGrid - Invalid JSON response. For more information about this error, please see <a href="http://datatables.net/tn/1" rel="nofollow noreferrer">http://datatables.net/tn/1</a>".</p>
  
  <p>My codes are as below.</p>
  
  <pre><code>var oTable = $('#dashboardGrid').dataTable({
                      "order": [[ 1, "asc" ]],
                      "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0,1 ] }],
                          "processing": true,
                      "serverSide": true,
                      "paging": false,
                      "ajax": {
                          "url": "getReport.php",
                          "type": "POST",
                          "data": function(d) {
                              d.vID = $("#vehicleID").val()
                              d.startDateTime = startDateTimeFinal
                              d.endDateTime = endDateTimeFinal
                           }                
  
                      },
                      dom: 'Bfrtip',
                      lengthMenu: [
              [ 10, 25, 50, -1 ],
              [ '10 rows', '25 rows', '50 rows', 'Show all' ]
          ],
          buttons: [
             'pageLength', 'copy', 'csv', 'excel', 'pdf', 'print',
             {
             extend: 'pdf',
                          title: 'Vehicle ID:'+$("#vehicleID").val()+'\nDate Start:',
                          text: 'Pdf',
                          orientation: 'landscape',
                          pageSize: 'A4',
                          exportOptions: {
                          columns: [ 0, 1, 2, 3, 5 ]
                          },
                          customize: function ( doc ) {
                          doc.content[1].table.widths = [
                          '5%',
                          '30%',
                          '30%',
                          '10%',
                          '10%'
  
                          ]
                          }
             }
  
  
          ]
                        });
  </code></pre>
  
  <p>I have tried edit with paging:false also the same.</p>