Rainieren
1 year ago

Laravel - Search through table by name & pagination

Posted 1 year ago by Rainieren

I'm making an admin panel and on my users page, I have a table with 53 users. (without pagination). On top of that table, I have an input field which is supposed to act as a search bar. But I don't know how to make it. I want the user to search a username and then the results immediately pop-up without a refresh. So the search needs to be searching by first name.

Are there any good tutorials for this that can help me on my way?

Also, The table has 53 users. How can I paginate the table to show only 25 per page? Because my table currently looks like this: https://imgur.com/a/bOgUn. Thanks in advance!

Please sign in or create an account to participate in this conversation.