Skip to content

WARNING You're browsing the documentation for an old version of LARAVEL-DATATABLES. Consider upgrading your project to laravel-datatables 10.0.

Skip Paging

To skip paging of DataTables, we can use skipPaging api or just set paging: false on our javascript.

Using PHP

use DataTables;
Route::get('user-data', function() {
$model = App\User::withTrashed()->query();
return DataTables::eloquent($model)

Using Javascript

$(document).ready(function() {
serverSide: true,
processing: true,
ajax: '',
paging: false