// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
$(document).ready( function () {
$('#projects').dataTable();
} );`
Table has <tbody> and <thead>
Browser console shows the following error:
TypeError: col is undefined
if ( col.mData === i ) {
jquery....?body=1 (line 6271)`
Hi, Maybe you can quickly look to see what seem to be wrong?
Gemfile.lock:
application.js
application.css.scss
project.js
Table has
<tbody> and <thead>
Browser console shows the following error:
Please let me know if you need more information.
Thank you.