You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've been trying to work with Laravel 6 + Latest laravel-datatables pagination, without any lucky hehe... It seems that the available laravel-datatables engines does not include LengthAwarePaginator which is the result of the simple laravel paginate, for example:
$users = \DB::table('USERS')->paginate(15); return datatables()->of($users)->toJson();
Returns the exception: "No available engine for Illuminate\Pagination\LengthAwarePaginator"
Is there any other way to use the native paginate + laravel-datatables? If I don't use the paginate from Laravel 6 and my table has too many rows, the datatables tries to apply pagination on the navigator, and it can't handle too many rows.
The text was updated successfully, but these errors were encountered:
Summary of problem or feature request
Hello, I've been trying to work with Laravel 6 + Latest laravel-datatables pagination, without any lucky hehe... It seems that the available laravel-datatables engines does not include LengthAwarePaginator which is the result of the simple laravel paginate, for example:
$users = \DB::table('USERS')->paginate(15); return datatables()->of($users)->toJson();
Returns the exception: "No available engine for Illuminate\Pagination\LengthAwarePaginator"
Is there any other way to use the native paginate + laravel-datatables? If I don't use the paginate from Laravel 6 and my table has too many rows, the datatables tries to apply pagination on the navigator, and it can't handle too many rows.
The text was updated successfully, but these errors were encountered: