Rails
Vložit
- čas přidán 8. 05. 2024
- In the previous episode we added Search, Sort, and Pagination to a data table.
Turbo Frames will help us make it work WITHOUT PAGE REFRESH!
However we will have to solve some potential problems (page refresh, URL, update, redirects).
Episode source code: github.com/corsego/147-datata...
Based on this blogpost: blog.corsego.com/turbo-hotwir...
0:00 initial state of data tables, search, pagination
1:50 search without page refresh
4:10 search as you type (without clicking submit)
4:36 update URL as you search (turbo-action advance)
5:25 autosubmit after selecting in a dropdown (without clicking submit)
6:09 update URL as you sort
6:55 break out of turbo frame
9:22 clean up and summary
Thanks. All your videos are amazing!
you are most welcome 🤗
Awesome!
Thanks a lot SuperRails 😉
thanks for your support ☺️
Qualitatively
Thanks, you are awsome.
Recently I try to make user login/register as a modal using hotwire, but i cant make it work, I was wondering if that topic could be a video.
Awesome implementation !!
I'm wondering how about Inline Editing with TurboFrame on the table 🤔
I think you can do inline editing of each individual atteibute of a table (not a whole row); interesting question actually. In E98 I do cover inline editing- I think something like that can be applied in a table superails.com/posts/ruby-on-rails-98-inline-editing-attributes-with-hotwire
Бездоганно!