Please help, Uncaught SyntaxError: Unexpected identifier 'columnDefs'
Please help, Uncaught SyntaxError: Unexpected identifier 'columnDefs'
![lamsas](https://secure.gravatar.com/avatar/3639f30bcaab5ac15352a0b20399ae9b/?default=https%3A%2F%2Fvanillicon.com%2F3639f30bcaab5ac15352a0b20399ae9b_200.png&rating=g&size=120)
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
Its a syntax error. You need a comma separating the options. The comma follows the
}
on the line abovecolumnDefs: [
.Kevin
thank you, i try to edit the coding
![](https://datatables.net/forums/uploads/editor/p1/sadud5hel88k.png)
add another error
![](https://datatables.net/forums/uploads/editor/3d/2aai0orwx0du.png)
See this thread.
Kevin
thank you it works adding "," after "columnDefs"
my mistake that the number of column in table and the target dont match
Looks like you've got a typo as well - "oderable" should be "orderable".![:smile: :smile:](https://datatables.net/forums/resources/emoji/smile.png)