DataTable to JSON
DataTable to JSON
ravikirankethe
Posts: 11Questions: 5Answers: 0
I have a DataTable in my page and I want to send data to the server. How can I convert the data to the JSON format so that I can send it to backend?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You could use
data()
to get the data from the table and then sent it to the server with Ajax andJSON.stringify
.Allan
Thanks Allan. That helped.