Moving from datatables.js to Editor?
Moving from datatables.js to Editor?
timothygardini
Posts: 3Questions: 1Answers: 0
I have a lot of existing datatables using datatables.js. Can I have both DataTables and Editor loaded on one page? I'm getting a lot of errors and I believe it may be because of Datatables.js?
Any suggestions?
This discussion has been closed.
Answers
You can't use Editor without datatables. Suggest you post codes samples.
More or less, I'm trying to clean up my JS files. I've noticed i have Datatable.js and dataTables.editor.js, are both these needed?
I can't really find a post/comment of what JS is needed for the core functionality of Editor.
Hi,
for basic usage you need both:
But just use the awesome download page to get only the files you need or even as one simple file!
https://datatables.net/download/index
Cheers
Hannes
Awesome. Just what I needed to know. Thanks for the reply.
Yes - this is correct. Editor is a plug-in for DataTables. It fundamentally requires DataTables to be loaded on the same page (and prior to Editor being loaded).
Editor doesn't provide table display capabilities itself - rather it adds editing abilities to an existing DataTable.
Allan