"Expected an Identifier"?

"Expected an Identifier"?

zgoforthzgoforth Posts: 493Questions: 98Answers: 2

Link to test case: https://jsfiddle.net/BeerusDev/gm10rqp7/115/

Why at the end of my "footerCallback" does it say that it expected an identifier?

Answers

  • kthorngrenkthorngren Posts: 21,327Questions: 26Answers: 4,949

    You have a mismatched set of open and close brackets: { }. You can click on one of the brackets and jsfiddle will highlight the corresponding bracket for the pair. You will need to find the mismatch.

    Kevin

  • zgoforthzgoforth Posts: 493Questions: 98Answers: 2

    I was able to find the issue where it bracket was missing, and now it runs through the api.rows().every() , but after my switch case, nothing is getting applied to the table foot? https://jsfiddle.net/BeerusDev/gm10rqp7/130/

  • kthorngrenkthorngren Posts: 21,327Questions: 26Answers: 4,949

    nothing is getting applied to the table foot?

    The $( api.column( 11 ).footer() ).html(..) is being applied to the footer. The values are not what you are expecting. Use the browser's debugger tool to track down what is happening.

    Kevin

Sign In or Register to comment.