Is there any way to disable the Warnings issued by DataTable?

Is there any way to disable the Warnings issued by DataTable?

michael.griffithmichael.griffith Posts: 7Questions: 0Answers: 0
edited October 2010 in General
Is it possible to suppress DataTable warnings, such as # of columns expected does not match configuration?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Yes indeed, you can set $.fn.dataTableExt.sErrMode to 'throw' ( http://datatables.net/development/ ) to have it throw a JS error, rather than alert a warning. However, the warning is there for a reason ;-)

    Allan
  • nigmastarnigmastar Posts: 5Questions: 0Answers: 0
    edited May 2014

    Sure there is a reason, however for a client might be annoying looking at them :-).

This discussion has been closed.