jQuery dataTables makeEditable() is not a function

前端 未结 3 1503
误落风尘
误落风尘 2021-01-14 12:02

I\'m new to Datatables and I\'m trying to make the table editable, but I keep getting this error:

TypeError: $(...).dataTable(...).makeEditable is not

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-14 12:34

    The imports have to be in certain order:

    jquery.min.js

    jquery-ui.min.js

    jquery.dataTables.min.js

    jquery.jeditable.js

    jquery.dataTables.editable.js

    jquery.validate.js

    After fixing this, update to latest versions fixed the problem!

提交回复
热议问题