How can we import "Datatables Editor" files in TypeScript file (SharePoint Framework Webpart)
How can we import "Datatables Editor" files in TypeScript file (SharePoint Framework Webpart)
Hi DataTables Community
How can we import "Datatables Editor" files in TypeScript file this is the main file of my SharePoint Framework Webpart created by choosing "No Javascript Framework".
1. I'm going to provide an online file uploader link off my main (.ts) file https://gofile.io/d/bNSb8W
2. I have already download and install the trial version of DataTable Editor 5th option (JS + CSS) using npm in node_modules according to instructions from here
https://editor.datatables.net/download/
3. and implement a Basic initialisation Example from here https://editor.datatables.net/examples/simple/simple.html
means just add HTML code in render method and JavaScript code in addDataTable method in main (.ts) file as mentioned above.
This question has an accepted answers - jump to answer
Answers
You should be able to use:
or if you prefer:
and then
EditorLib.Editor
etc.Allan
Thanks Allan