Just a ruby gem for asset pipeline which includes the tablesaw library.
Add this line to your application's Gemfile:
gem 'tablesaw-rails', :git => 'git://github.com/darkfishy/tablesaw-rails.git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install tablesaw-rails
In your application.js
:
//= require tablesaw/tablesaw-init
//= require tablesaw/tablesaw
//= require tablesaw/tables.custom
Also, in your application.css
:
*= require tablesaw/tables.bare
You can also just cherry pick what you want on the tablesaw plugins.
//= require tablesaw/tables.sortable
//= require tablesaw/tables.columntoggle
//= require tablesaw/tables.stack
//= require tablesaw/tables.swipetoggle
//= require tablesaw/tables.modeswitch
*= require tablesaw/tables.sortable
*= require tablesaw/tables.columntoggle
*= require tablesaw/tables.stack
*= require tablesaw/tables.swipetoggle
*= require tablesaw/tables.modeswitch
- Fork it ( https://github.com/[my-github-username]/tablesaw-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
MIT. Do what you want.