Uncaught ReferenceError
Uncaught ReferenceError
tableFan
Posts: 10Questions: 7Answers: 0
hello,
this error is shown to me all the time, can someone help me?
Uncaught ReferenceError: table is not defined
editor.inline(table.cells(this.parentNode, '*').nodes());
Answers
The
table.cells( .. ).nodes()
is using the variabletable
to access the Datatables API. See the API docs for details. Somewhere in your script you need to assign the variable. It can be assigned when when you initialize Datatables or you can get an instance of the API at anytime as described in the docs.If you need further help please provide a link to your page or a test case showing the issue so we can see what you have and help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin