Uncaught TypeError: $(...).dataTable is not a function in ruby on rails

Uncaught TypeError: $(...).dataTable is not a function in ruby on rails

Neha CNeha C Posts: 1Questions: 1Answers: 0

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

Answers

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    Can you link to your resulting web page or create a repo that reproduces the issue please?

    Thanks,
    Allan

This discussion has been closed.