Uncaught TypeError: DataTable$6.util.set is not a function

Uncaught TypeError: DataTable$6.util.set is not a function

fanchihmohfanchihmoh Posts: 1Questions: 1Answers: 0

jQuery 1.12.4, Datatable 1.10.20, Editor 2.3.2
I used one example in Editor but keep getting below error.

dataTables.editor.js:438 Uncaught TypeError: DataTable$6.util.set is not a function
at dataSet (dataTables.editor.js:438:29)
at new Field (dataTables.editor.js:5673:26)
at Editor.add (dataTables.editor.js:1644:23)
at Editor.add (dataTables.editor.js:1627:18)
at new Editor (dataTables.editor.js:6600:18)

I know Datatable has to be 1.10.20 or over to use Editor, but is there a restriction for jQuery version to use Editor? Thanks.

Answers

  • kthorngrenkthorngren Posts: 21,391Questions: 26Answers: 4,961

    According to the Editor 2.3.0 release notes it requires DataTables 1.11+. You will need to upgrade Datatables. Since 2.x has been released development and fixes for 1.x have been stopped. You best option is to upgrade to the latest 2.1 version.

    Kevin

  • allanallan Posts: 63,602Questions: 1Answers: 10,486 Site admin

    Yes, sorry, Editor does have a check in it to look for 1.10.20. It should actually be looking for 1.11 or newer. I've corrected that for the next release.

    ideally DT2 would be used since 1.x is no longer supported.

    Allan

Sign In or Register to comment.