Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I cannot speak to your situation exactly - however I can offer a suggestion. Since I don't see <code>oCol</code> in your javascript code, it would seem this is an undefined error coming from the jquery javascript. You are either missing a required js file, or I would try reversing the order of <code>//= require dataTables/jquery.dataTables.bootstrap</code> with <code>//= require dataTables/jquery.dataTables</code> and see if that helps (The files get included in the order specified, so if <code>jquery.dataTables</code> uses a variable that is defined in <code>jquery.dataTables.bootstrap</code>, then you would see an error like this.</p> <p>EDIT: I can also offer you what we have in our configuration (we use dataTables as well)</p> <p><em>Our Gemfile:</em></p> <pre><code>gem 'jquery-rails', '1.0.19' </code></pre> <p><em>Our application.js:</em></p> <pre><code>//= require jquery.min.js //= require jquery_ujs.js //= require jquery.dataTables.js //= require ColReorder.js //= require jquery.timers-1.2.js //= require jquery-ui-1.8.16.custom.min.js </code></pre> <p><strong>note</strong> ColReorder.js is a dataTables plugin file</p> <p><em>Our application.css:</em></p> <pre><code>*= require jquery.ui.all.css *= require demo_table *= require ColReorder </code></pre> <p><strong>note</strong> The demo_table file is the css file that comes with the jquery dataTables.</p> <p><strong>And</strong> I should add that we actually have downloaded dataTables, and jquery-ui and we have taken the Javascript files and CSS files and actually put them in our <code>assets/javascripts</code> and <code>assets/stylesheets</code> paths.</p> <p>Hope this helps!! And if not, I can try and give you some pointers to debugging where this is coming from :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload