Datatables pagination with AJAX
问题 Is it possible to set datatables to paginate, but load only the n amount of entries that are displayed from the server? (via Ajax request). In other words, each time you re-sort or click 'Next n entries', a small request is made to the server to load the new entries to display. Thus minimizing the initial load time. Will I be able to do this via the initialization, so that it applies to all datatables in my site? 回答1: Since you're not providing any code I won't be able to do a full answer.