Please help, Uncaught SyntaxError: Unexpected identifier 'columnDefs'

Please help, Uncaught SyntaxError: Unexpected identifier 'columnDefs'

lamsaslamsas Posts: 3Questions: 1Answers: 0
edited July 3 in Free community support

I cannot seem to figure out what it is I'm doing wrong here. always show error in 'columnDefs'

This question has accepted answers - jump to:

Answers

  • kthorngrenkthorngren Posts: 21,298Questions: 26Answers: 4,944
    Answer ✓

    Its a syntax error. You need a comma separating the options. The comma follows the } on the line above columnDefs: [.

    Kevin

  • lamsaslamsas Posts: 3Questions: 1Answers: 0
    edited July 3

    thank you, i try to edit the coding

    add another error

  • kthorngrenkthorngren Posts: 21,298Questions: 26Answers: 4,944
    Answer ✓

    See this thread.

    Kevin

  • lamsaslamsas Posts: 3Questions: 1Answers: 0

    thank you it works adding "," after "columnDefs"

    my mistake that the number of column in table and the target dont match

  • RichardD2RichardD2 Posts: 7Questions: 2Answers: 1

    Looks like you've got a typo as well - "oderable" should be "orderable". :smile:

Sign In or Register to comment.