Uncaught TypeError while sorting column with type string

Uncaught TypeError while sorting column with type string

friek2kfriek2k Posts: 4Questions: 0Answers: 0
edited January 2013 in Bug reports
Hi, while sorting a column (sType: "string") an TypeError is thrown in line 4038. I created a jsFiddle to show the problem.
http://jsfiddle.net/friek2k/jUEaq/1/ .. Just click a column header to raise the TypeError 'property 'string-a' is not a function'.

Iam using:
jquery 1.9.0
DataTables: 1.9.4
Chrome 24 / Firefox 19

Regards,
Andre

Replies

  • allanallan Posts: 61,725Questions: 1Answers: 10,108 Site admin
    > "asSorting": "asc"

    That's invalid - asSorting must be given as an array.

    > "asSorting": ["asc"]

    Works as expected.

    Allan
This discussion has been closed.