@patel you can use js plugin like datatables for it
Sep 16, 2021
8
Level 1
Laravel Pagination using array and without refreshing page.
Hi, I have been trying to implement laravel pagination with an array and it refreshes the page and I dont want that to happen as I have some form fields and on the click of the button it sends a post request to get the records in an array and I display them on the table. With the default pagination it displays the links but when I click on them it refreshes the page and sets the fields to the default values and I have to click again to get the records which is not good.
I want to know if there's an effective way to handle this.
Also want to add I will a have lot of records in the array and that's the reason I want to implement pagination for performance purposed.
Thanks
Please or to participate in this conversation.