silverbux / laravel-angular-admin

Laravel + Angularjs + Bootstrap + AdminLTE binded by Gulp workflow Admin Dashboard Boilerplate / Starter.
http://silverbux.github.io/laravel-angular-admin/
MIT License
923 stars 414 forks source link

[Feature request]: Add pagination (with solution) #80

Closed ixperiencenl closed 7 years ago

ixperiencenl commented 7 years ago

When retrieving loads of rows the application hangs in Chrome. This is of course because the 'all' statement is returning all data from the DB. Would be nice if pagination would be possible out of the box.

ixperiencenl commented 7 years ago

this is a datatables issue, sorry for bothering

tyro044 commented 7 years ago

thank you. Appreciated

On Wed, Oct 12, 2016 at 3:06 PM, iXperience notifications@github.com wrote:

this is a datatables issue, sorry for bothering

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/silverbux/laravel-angular-admin/issues/80#issuecomment-253223043, or mute the thread https://github.com/notifications/unsubscribe-auth/AM6h6obIF7S08x3llWp5m478iHNze78vks5qzOlcgaJpZM4KUxsb .

ixperiencenl commented 7 years ago

A follow up on my request: to use pagination (and server side speed) for datatables I suggest installing the https://datatables.yajrabox.com/starter package. Then use the ajax calls from datatables itself to work with it. Don't forget to submit the authorization header first.