DataTable to JSON

DataTable to JSON

ravikiranketheravikirankethe 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

Answers

  • allanallan Posts: 61,723Questions: 1Answers: 10,108 Site admin
    Answer ✓

    You could use data() to get the data from the table and then sent it to the server with Ajax and JSON.stringify.

    Allan

  • ravikiranketheravikirankethe Posts: 11Questions: 5Answers: 0

    Thanks Allan. That helped.

This discussion has been closed.