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

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

ThorkilThorkil Posts: 1Questions: 1Answers: 0

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...

Answers

This discussion has been closed.