How do I use json data to populate my table?
How do I use json data to populate my table?
johnny321
Posts: 2Questions: 1Answers: 0
I'm trying to populate my a table using data from an ajax call that was already completed. All the examples I see using Ajax and datatables takes the data from a file.
This discussion has been closed.
Answers
Update: I found the answer here: https://datatables.net/examples/data_sources/js_array.html
Thanks for posting back. For anyone else finding this thread, you can use
data
orrows.add()
.Allan