Getting error like “Cannot read property 'ext' of undefined” in Jquery Datatable

Getting error like “Cannot read property 'ext' of undefined” in Jquery Datatable

krishna3917krishna3917 Posts: 1Questions: 1Answers: 0

I am trying to show print button in jquery data table. But getting error like "Cannot read property 'ext' of undefined.

Script which I used are,

script_tag('www/js/data-tables/buttons.html5.js').
script_tag('www/js/data-tables/buttons.print.js').
script_tag('www/js/data-tables/dataTables.buttons.js').
script_tag('www/js/data-tables/jquery.dataTables.js')

Answers

  • allanallan Posts: 63,761Questions: 1Answers: 10,510 Site admin

    Load DataTables first. The other scripts are plug-ins to DataTables and thus they depend upon it.

    Allan

This discussion has been closed.