Cannot load 4 columns. ObjectId and arrays of Title, Access and Author
Cannot load 4 columns. ObjectId and arrays of Title, Access and Author

The data i have:
var resp = JSON.parse(xhttp.responseText);
I am trying
var cols = [{"data":0},{"data":0.0},{"data":0.1},{"data":0.2}];
$('#myTable').DataTable( {
data: resp.data,
"columns": cols
});
Please advise...
This discussion has been closed.
Answers
That's not a supported format - it needs to be an array of objects or an array of arrays. Those examples should get you going,
Colin