No data showing on table when i have a data on database
No data showing on table when i have a data on database
misskizz
Posts: 3Questions: 2Answers: 0
Hello,
I am new at datatables so i wanted to know what is wrong with my code here. I want to pull data from database and display it to the datatable but it does not show any error on the console and it does not display any data.
attached is my ajax code.
thank you
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Its hard to say without actually seeing the code running.
I would suggest starting with some debugging output using
console.log
at various points in the code to make sure its doing what you want. You can also try looking at the response using the troubleshooting steps in this tech note:https://datatables.net/manual/tech-notes/1
You can try providing the debugger link or providing a test case as described here:
https://datatables.net/manual/tech-notes/10
Kevin
Thank you, @kthorngren