i created a view, and added a table in it, with id.
then I added this js line
$("#kt_datatable_example_1").DataTable();
now getting this error in console
Uncaught TypeError: $(...).DataTable is not a function
please help.
Hi,
Have you imported the datatable plugin files (JS and CSS)?
Please check the folder here.
public/demo1/plugins/custom/datatables/*
Thanks