Topic: Table editor with Ajax
RonnieDavies asked 6 years ago
is there a way to use AJAX with table editor to update database?
The data table loads via Ajax but I would like to update/add/delete too.
Thanks!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
Specification of the issue
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.0
- Device: All devices
- Browser: All browsers
- OS: All
- Provided sample code: No
- Provided link: No
Tags
Related topics
Piotr Glejzer staff commented 6 years ago
Hi, we don't have any tutorial on how to connect Tabe Editor with Ajax to update the database. Sorry about that. It's possible to do this. You can do this with a similiar topic like this: https://datatables.net/examples/data_sources/server_side but there is only how to connect datatable with backend and we know that. You have to try for your own to do this.
RonnieDavies commented 6 years ago
Thanks for your response. That is a shame really. I can get it to read from the DB, but not update the DB easily.
I have found some articles from people who have managed to get it working, but it is quite limited in its scope.
Kind regards Ronnie
Piotr Glejzer staff commented 6 years ago
Thanks for your opinion. We will keep it in mind and think more in the future about that.
FWUser pro premium priority commented 3 years ago
This is absolutely bs. What is the supposed use of a table with a front end saving feature if is not to save it to a db? Have something changed within 3 years? Did someone found a good example or a solution? At least, how do I extract the data from the table??
Marcin Luczak staff commented 3 years ago
Hi,
MDB5 Table Editor documentation https://mdbootstrap.com/docs/standard/plugins/table-editor/#section-async-data shows how to create POST requests to your database in the JavaScript code tab.
Keep coding, Marcin