Data Source Issue

Data Source Issue

aebreyaebrey Posts: 7Questions: 3Answers: 0

Greetings,

I am trying to load my data table using javascript sourced data and I keep receiving the following error message: http://datatables.net/tn/4.

I followed the instructions here https://datatables.net/examples/data_sources/js_array.html, even though my data is an array of objects. Should I use the ajax method instead? I could not figure out how to access the object's data's using the js sourced data method. Any assistance is appreciated. My site and repo are below.

Site: https://nerdy-droid.github.io/
Repo: https://github.com/Nerdy-Droid/Nerdy-Droid.github.io

Thanks in advance!

Ashley

Replies

  • bindridbindrid Posts: 730Questions: 0Answers: 119

    you are including the data file as if it were a regular javascript file but it is not structured that way so you are getting javascript errors.

This discussion has been closed.