$.fn.dataTable.Editor is not a constructor

$.fn.dataTable.Editor is not a constructor

AloneInTheDarkAloneInTheDark Posts: 30Questions: 7Answers: 0

Hi,
i try this example https://editor.datatables.net/examples/inline-editing/simple.html
but i receive this error " $.fn.dataTable.Editor is not a constructor".

I have import the file of example.
Help me tnk.

Replies

  • allanallan Posts: 61,765Questions: 1Answers: 10,111 Site admin

    Is there anything shown in your browser's console?

    Allan

  • AloneInTheDarkAloneInTheDark Posts: 30Questions: 7Answers: 0
    edited February 2016

    Hi,
    this console output:

    TypeError: this.dom is undefined
    file: dataTables.editor.min.js row 102, 110

    TypeError: $.fn.dataTable.Editor is not a constructor

    These are the files included:

    jquery-1.9.1.min.js
    jquery.dataTables.min.js'
    dataTables.buttons.min.js
    dataTables.select.min.js
    dataTables.editor.min.js

  • allanallan Posts: 61,765Questions: 1Answers: 10,111 Site admin

    Are you able to give me a link to the page showing that problem please? I'm not immediately sure of what would cause such an issue.

    Allan

  • AloneInTheDarkAloneInTheDark Posts: 30Questions: 7Answers: 0
    edited February 2016
  • allanallan Posts: 61,765Questions: 1Answers: 10,111 Site admin

    Thanks for the link. The console also shows this error message:

    Uncaught DataTables Editor - remote hosting of code not allowed. Please see http://editor.datatables.net for details on how to purchase an Editor license

    If you would like to try Editor out, a trial version is available on the Editor download page.

    Allan

This discussion has been closed.