giwrgos's avatar

How I can have multi pagination on one page

Hello, on my system that i'm working now I have 2 tables in one page. Each table has different information from the other but both have 10 rows. I want to have different paginations for the two tables so user can move to the next rows of the table. For example if he use the pagination of the first table to move to the page 2 of the first table and show the next 10 available rows where the second table will be on the first 10 rows, same for the second table as well if the user want to see the second page of the second table. Does anyone knows how i can do it? I found a sample of code but is for laravel 4.1 and is using the links function which is not any more available in 5.1

0 likes
6 replies
ounos's avatar

I have the same problem and I can't find a solution. @PhaxeNor this doesn't work in 5.1. Any ideas ?

jlrdw's avatar

This has been demonstrated before. And I even showed a quick demo in this post https://laracasts.com/discuss/channels/eloquent/eloquent-relationships-still-not-understand Just some common Horse Sense.
Furthermore from reading the post the way you doing two tables really doesn't make sense but if that's what you want put them into two separate divisions using Ajax. That is a real simple and easy way to handle this.
I can see I will have to whip up another video on an accounts payable deal I just did using two tables. But really a lot of this stuff is just good old-fashioned common I can rebuild an engine and a carburetor Common Sense.
Oh and weld pipe with a 7018 rod including the root pass.

Please or to participate in this conversation.