hey there, currently i am trying to import datatables into own panel.
To make this i am following this steps :
- download datatables with bundling most of extensions from Download
- copy all datatables files into libs/datatables.net/* (to src, so it get copied to dist when building)
- in source code of starter.ctrl i am importing it
import DataTable from ./libs/datatables.net/datatables.js’;
import DataTable from ./libs/datatables.net/datatables.css’; - in render event build table, using elem.find(“#table_id”).DataTable();
But i am getting 404 when trying to use it :
If i am trying to use basic datatables configuration it works. but if a am adding any datatables extension ( like scrolling or import buttons) i get stuck on this error