Skip to content

olegkurchin/FooTable-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FooTable-rails

FooTable-rails integrates FooTable in Rails assets pipeline. This is fork of V2-branch

  1. Add to Gemfile
gem 'footable-rails'
  1. Add to 'application.css' before *= require tree
*= require footable-rails
  1. Add to 'application.js' before //= require tree
//= require footable-rails
  1. Initialize FooTable! There should be a match between table class "my_footable" and ".my_footable"
<table class='my_footable' data-page-navigation=".pagination" data-filter="#filter" ...>
  ...
</table>
<!-- don't forget to initialize after </table>-tag -->
<script type="text/javascript">
    $(function () {
        $('.my_footable').footable();
    });
</script>

About

footable-rails V2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%