How to turn off TypeError: settings.aoColumns[column] is undefined

How to turn off TypeError: settings.aoColumns[column] is undefined

naspynaspy Posts: 1Questions: 1Answers: 0
edited January 2020 in Free community support

I have this issue popping up in the console on a specific page, but I can't figure out why I get this error, even after researching on Google.

TypeError: settings.aoColumns[column] is undefined

I'm on a point where I don't want to fix the "issue" (the table is not broken in the end), I just want the browser to ignore it and continue its execution. Because of this message, My code doesnt enter in the $(document).ready() function and I'm stuck because of this.

$.fn.dataTable.ext.errMode = 'none'; alone doesnt do the job, the error is still displayed.

How do I actually turn it off ?

Answers

  • kthorngrenkthorngren Posts: 21,128Questions: 26Answers: 4,916

    Here is a thread with the same error:
    https://datatables.net/forums/discussion/34826

    Not sure if it applies without knowing more about your setup. If you are using the Buttons Column Visibility option the error maybe due to using old code per that thread.

    Please start by providing more information about your configuration and versions. OR you can try upgrading to the latest code to see if the error is fixed.

    Kevin

This discussion has been closed.