For me that's not more than pagination. When you click on another tab of the accordion, you load a new part of your results. The accordion's tabs will replace the back / next buttons of the pagination.
Jun 7, 2022
4
Level 2
Can you use laravel's pagination, but change the results into an accordion?
The goal was to try and solve a problem of a query being too big by separating it into parts, and pagination does a lot of that on it's own already. Now if there is some table, instead of the ->links(), is there a way to put each 'page' of results into section of the accordion and then have the user clicking to open another section be kind of like opening a different page so not all the info gets pulled at once?
Please or to participate in this conversation.