fnSort Throwing Error 'is not a function'

fnSort Throwing Error 'is not a function'

travisredingtontravisredington 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

Answers

  • allanallan Posts: 61,892Questions: 1Answers: 10,144 Site admin
    Answer ✓

    Most likely you are using $().DataTable() rather than $().dataTable(). Note the difference in capitalisation.

    See the FAQs for information.

    Allan

  • travisredingtontravisredington Posts: 4Questions: 2Answers: 0

    Thanks, that was it!

This discussion has been closed.