Invalid json with large datasets

Invalid json with large datasets

jpublicjpublic Posts: 10Questions: 5Answers: 0

I have been using DataTables for a month now, but there's certain error i get when loading large datasets (1000+ records) and it's "Invalid json....datatables/tn/1". I'm using a php service to get my data, it's json encoded and is validated but the error still persist when it comes to larger dataset, small ones it works fine. Can you help me?
My ajax:
{ "processing": true, "ajax": { "type": 'POST', "url":'/Test2/services/reportService.php', "data": {"ftoc": "adminReportService"}, scrollY: 500, deferRender: true, scroller: true, "bSortClasses": false, },

Answers

  • allanallan Posts: 62,044Questions: 1Answers: 10,170 Site admin

    Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.

    Information on how to create a test page, if you can't provide a link to your own page can be found here.

    Thanks,
    Allan

This discussion has been closed.