PivottableRails
pivottable is a jQuery plugin to build Pivot Table with your data.
The pivottable-rails
gem integrates the pivottable
jQuery plugin - version 2.0.2 - with the Rails asset pipeline.
Installation
Add this line to your application's Gemfile:
gem 'pivottable_rails'
Execute:
$ bundle
And then add the following to your app/assets/javascripts/application.js
:
//= require pivottable/pivot
Or install it yourself as:
$ gem install pivottable_rails
Usage
For usage informations, please refer to the official pivottable plugin documentation.
Contributing
- Fork it ( https://github.com/[my-github-username]/pivottable_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