Many rows on Datatable more than 50 000

Many rows on Datatable more than 50 000

DevCyDevCy Posts: 11Questions: 2Answers: 0

Hi, i've a question, i work with a Datatable with more than 50 000 rows. I try to use Datatable with that. I've all my datas on a json file. i will have all my datas for search filter with Datatable. I added serverSide and deferRender but it don't works. I've too many datas. Are you an idea ??
Thank you for help.

$('#many-table').DataTable({
                    processing: true,
                    pageLength: 100,
                    serverSide: true,
                    deferRender:false,
                    ajax: '/url/many/show',
                });

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,740Questions: 1Answers: 10,111 Site admin

    Does your Ajax controller support server-side processing?

    Allan

  • DevCyDevCy Posts: 11Questions: 2Answers: 0

    My controller return an jsonResponse with all datas. Can i use server-side processing inside controller with Laravel ?? I don't know for moment i try many things and i'm blocked with that.

  • kthorngrenkthorngren Posts: 20,320Questions: 26Answers: 4,773
    Answer ✓

    Datatables doesn't supply a Laravel library for server side processing. There are third party libraries. This tutorial shows how to use Yajra Datatables. Maybe this will work for you. Or you can create your own code that supports the server side processing protocol.

    Kevin

  • DevCyDevCy Posts: 11Questions: 2Answers: 0

    Hi, thank you for response i will try this.
    Have a good day ;)

  • DevCyDevCy Posts: 11Questions: 2Answers: 0

    Finally i worked with yarja datatables and it's works fine. Thank you for your help

Sign In or Register to comment.