Unable to use fnSortListener - "Uncaught TypeError: undefined is not a function"

Unable to use fnSortListener - "Uncaught TypeError: undefined is not a function"

mark@jepsonrae.commark@jepsonrae.com Posts: 2Questions: 1Answers: 0

Hello,

I am trying to bind the column sorting to a span tag inside the th element instead of the th its self using fnSortListener.

I successfull unbind the th elements using:
$('th').unbind('click.DT');

However my next line of code trigger an "Uncaught TypeError: undefined is not a function" error.
catalogueDataTable.fnSortListener($('.sort_title')[0], 0);

Any help would be appreciated.

Thanks

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.