How to Save New Row
How to Save New Row
eh.nathan
Posts: 1Questions: 1Answers: 0
So, I have the table working and reads manually put in data from the json but when I click new and type row info in it doesn't save.
How would I make it save the datatable row to the JSON?
This discussion has been closed.
Answers
How are you adding the row? If you are using $("#example"). DataTable.row.add(newrow).draw() it will add to the json data object found at DataTables and you can get the updated json object by $("#example").DataTable().rows().data()