Confused as to what you want, do you me a new page of data but no page refresh as in ajax?
Jul 8, 2016
4
Level 1
Pagination - how to work with paginations
Hi, I'm working with a lot of tables and i'm using pagination but when i click to the next pagination i go to another page and i want to stay in the same page but with new data... How can i do that?
MY QUERY: $itemsSizes = ItemsSize::join('items', 'items_sizes.id_item', '=', 'items.id') ->where('items.active', '=', 1) ->orderBy('items_sizes.updated_at', 'asc') ->simplePaginate(5);
MY ROUTE: Route::get('/app/budget/associateItems/{id}', 'BudgetController@getAssociateItems');
MY HTML:
@if($itemsSizes->render()) arrow_back arrow_forward @endif
thank's
Please or to participate in this conversation.