Server Side Processing: Why is first page still ajax?
Server Side Processing: Why is first page still ajax?
Hi,
I am adapting some tables with huge amount of data to server side processing, which works fine.
The only concern that I have is the first page. How it works now, is that the ajax call is made even in the first page. Is there a way to configure datatables so that it does not send the ajax call on the first page when the page is first loaded?
My setting are like the documentation suggests:
serverSide: true,
ajax: url
Thank you
This question has an accepted answers - jump to answer
Answers
Yes - using the
deferLoading
option - see this example.Allan
Hi Allan,
I just tested it. This is exactly what I needed.
Thank you