Get undefined errors with Editor
Get undefined errors with Editor
Uncaught ReferenceError: define is not defined
at dataTables.editor.min.js1:1
and
Uncaught TypeError: $.fn.dataTable.Editor is not a constructor
at Object.success
on line:
editor = new $.fn.dataTable.Editor( {
I have following js loaded on my page
- jquery-3.2.1.min.js
- jquery.dataTables.1.10.16.min.js
- dataTables.fixedColumns.min.js
- dataTables.select.min.js
- dataTables.buttons.min.js
- dataTables.editor.min.js
Also when I directly try to check in developer tool console, I see following is not available:
$.fn.DataTable.Editor
although following is available to me:
$.fn.DataTable.FixedColumns
This question has an accepted answers - jump to answer
Answers
It is fixed.
I took the latest editor js from the downloaded package rather than the link available on demo pages
Thanks for posting back - yes, downloading the library is the correct thing to do!
Allan