Testing DataTables and Getting 'TypeError: data is undefined' when completing an inline edit
Testing DataTables and Getting 'TypeError: data is undefined' when completing an inline edit
I am evaluating DataTables and put together a test page that is mostly a combination of two DataTables examples, the one for local storage and the one for inline editing. That seems Ok, but when I introduce JSON data the editing operating gets an error when I select the ">" button to complete the edit.
I can't see anything different between how I am invoking DataTables between using DOM data vs JSON data, but clearly something is very different. Debug info is at http://debug.datatables.net/ijixad and the test case that generated that is at
http://test.moneythumb.com:8080/pdfconvert/preview.htm?filename=MT_8505897068280000980.csv.
It looks like the error is coming from the Ajax function used for local storage, which is copied verbatim from https://editor.datatables.net/examples/advanced/localstorage.html And that identical code works fine with DOM data, just not with the JSON data.
Any suggestions would be very welcome.