Uncaught ReferenceError

Uncaught ReferenceError

tableFantableFan Posts: 10Questions: 7Answers: 0
edited July 2021 in DataTables

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());


  • kthorngrenkthorngren Posts: 19,891Questions: 26Answers: 4,691
    edited July 2021

    The table.cells( .. ).nodes() is using the variable table 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.


Sign In or Register to comment.