Uncaught TypeError: $(...).dataTable is not a function in ruby on rails
Uncaught TypeError: $(...).dataTable is not a function in ruby on rails
Neha C
Posts: 1Questions: 1Answers: 0
in DataTables
Hello,
I am using rails 6 and ruby 2.7.2
So using the below link I follow this instruction but still, I got the error datatable is not function
https://github.com/jbox-web/ajax-datatables-rails/blob/master/doc/webpack.md
This discussion has been closed.
Answers
Can you link to your resulting web page or create a repo that reproduces the issue please?
Thanks,
Allan