Can I suggest cheating instead: https://datatables.net/
Ajax Table Editing
I would love to see a lesson on how to build tables that can be edited through Ajax.
HI MickBee
Thanks for the suggestion. I had a quick look. It doesn't seem to explain how to make the table also editable (retrieve and save data from and to the database through Ajax). That is the hard part where I'm stuck. It can be done in so many ways. And I'd love to see the Jeffrey 'way' :)
The Editor component does the editing:
https://editor.datatables.net/
I agree, it is difficult because there are many ways to do it, I think it is easier to do the editing on a separate page (or modal).
Mick
Handson Table might also be worth a look. There's a section in the docs for loading and saving
Over a thousand online already of such tutorials. YouTube also.
Obviously I found some resources on my own. But they are outdated, or not actively developed anymore:
https://vitalets.github.io/x-editable/
https://github.com/jeanquark/ajax-crud
I probably will cook up something on my own using above Ajax sources / tutorials. I already have beautiful and working / editable (front end) views for my tables. It's just the Ajax plumbing I need to get done in a proper and nice way.
Please or to participate in this conversation.