fnSort Throwing Error 'is not a function'
fnSort Throwing Error 'is not a function'
travisredington
Posts: 4Questions: 2Answers: 0
Hi,
I am getting the error:
TypeError: table.fnSort is not a function
I can't seem to figure out why that would not be available. the table var has all the properties and methods available when debugging but fnSort is undefined. fnSort is there in the datables.js and am using the latest version (10.4). Is there any reason for this?
Thanks!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Most likely you are using
$().DataTable()
rather than$().dataTable()
. Note the difference in capitalisation.See the FAQs for information.
Allan
Thanks, that was it!