Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do I create a sortable & searchable table with pagination?

Kevin Gutowski asked in Rails

Not really sure how to set this up with the different query params. Could someone point me in the right direction? Thanks!

Reply

There is a video on that.

https://gorails.com/episodes/datatables-from-scratch-using-hotwire?autoplay=1

Combine what you learned here with filtering and using the pagy gem and you should be good to go

Reply

Thanks! That's exactly what I'm looking for!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.