Jsonp aoColumns Mapping Issue

Jsonp aoColumns Mapping Issue

idk178idk178 Posts: 1Questions: 0Answers: 0
edited December 2012 in DataTables 1.9
Hello,

I have been working with DataTables 1.9 to read a return from an AJAX jsonp datasource. I have been able to successfully run a working example from the site and reproduce it at the following location: http://jsfiddle.net/qAALr/
The above fiddle is a reproduction of the example [ http://datatables.net/release-datatables/examples/ajax/objects.html ] and works with the objects.txt object ( http://www.insiderspider.com/jsonpText/objects.txt ).

I'm now trying to work with my own jsonp return, with the code located here: http://jsfiddle.net/uD6xM/
The above fiddle is trying to read the jsonp (simulated in a .txt file for this example located here http://www.insiderspider.com/jsonpText/jsonpData.txt)
but I receive the error: "DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error."

I'm sure it has something to do with how I have set up my "aoColumns" mapping, as I can get all of the examples from the site to run with no issues and I am also able to successfully see the ajax request go through when looking for it with fiddler. Any insight is greatly appreciated.
This discussion has been closed.