noob integrating DataTables into a Rails 3 app

noob integrating DataTables into a Rails 3 app

JayJay Posts: 2Questions: 0Answers: 0
edited May 2011 in General
for the no configuration option I...
1. put the js files into root/public/javascripts
2. put the image files into root/public/images
3. put the demo css files into root/public/stylesheets
4. put css call in the head section of my layout file:
<%= stylesheet_link_tag "demo_table", :media => "all" %>

5. put the initialization script in the head section of my layout file:

$(document).ready(function() {
$('#example').dataTable();
} );


5. first line of my table layout is:


I restarted my server. Nothing happens. What am i missing?

Replies

  • JayJay Posts: 2Questions: 0Answers: 0
    Found this:

    https://github.com/phronos/rails_datatables
This discussion has been closed.