noob integrating DataTables into a Rails 3 app
noob integrating DataTables into a Rails 3 app
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?
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?
This discussion has been closed.
Replies
https://github.com/phronos/rails_datatables