TypeError: table.fnGetNodes is not a function
TypeError: table.fnGetNodes is not a function
selbat
Posts: 2Questions: 2Answers: 0
I am trying to run the example here:
http://live.datatables.net/aweven/2/edit
but there is an error
TypeError: table.fnGetNodes is not a function
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi,
The issue here is that the legacy fnGetNodes method is not available when you use the
$().DataTable()
constructor.Since you are using
$().DataTable()
I would suggest you use the modern API -rows().nodes()
in this case.Alternatively, if you do need the legacy API,
$().dataTable()
can be used.Allan