Uncaught TypeError: $.fn.dataTable.moment is not a function
Uncaught TypeError: $.fn.dataTable.moment is not a function
Hi,
I try add datetime field to editor, but get error
Uncaught TypeError: $.fn.dataTable.moment is not a function
Import moment and datatables.net-datetime, but doesn't work.
Test app:
This question has an accepted answers - jump to answer
Answers
Replace that line with the one you commented out:
The old
$.fn.dataTable.moment
is provided by this plug-in, but is now irrelevant since DataTables has something very similar built in.Allan
Allan, thanks.
I commented out this line. Error is gone, but Editor with datetime type doesn't work.
See https://tinyurl.com/ym9r54s7
You've got ordering disabled on the date column (index 4 if I've reading it correctly).
Allan
Allan, ordering work well, I have problem whit editor. Create new discussion.