Debugging datatables not loading
Debugging datatables not loading
rgonsalves
Posts: 2Questions: 0Answers: 0
On our third Rails project, we're unable to get dataTables loaded and see "Object [object Object] has no method 'dataTable'" in the Chrome console. It works fine in our 2 other apps. I've made sure our table is formatted correctly, and all the required assets are in their correct location. jQuery doesn't seem to be loaded twice (which I gather from reading the forum is often an issue).
There is no public view of the website at this time, so I can't give you a link.
How would I go about figuring out what is going wrong? e.g., is there a breakpoint I could set if to see if some init code is or is not being called?
There is no public view of the website at this time, so I can't give you a link.
How would I go about figuring out what is going wrong? e.g., is there a breakpoint I could set if to see if some init code is or is not being called?
This discussion has been closed.
Replies
Allan