Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alev's avatar
Level 4

Ajax Table Editing

I would love to see a lesson on how to build tables that can be edited through Ajax.

0 likes
8 replies
alev's avatar
Level 4

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' :)

MickBee's avatar

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

2 likes
jlrdw's avatar

Over a thousand online already of such tutorials. YouTube also.

1 like
alev's avatar
Level 4

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.