jqgrid-jquery-rails
Gemified by Doc Walker
Provides the jqGrid
jQuery plugin packaged for the Rails 3.1+ asset pipeline.
Installation
Add these lines to your application's Gemfile
:
# jqgrid jquery plugin packaged for the rails asset pipeline
gem 'jqgrid-jquery-rails', '~> 4.3.0'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jqgrid-jquery-rails
Gem version notes:
- x.y.z version will track the
jqGrid
plugin version; - It may contain a suffix to differentiate versions of the gem based on the same
jqGrid
plugin version;
Usage
Add these lines to app/assets/javascripts/application.js
// provides jqgrid jquery plugin from gem 'jqgrid-jquery-rails':
//= require jqgrid-jquery-rails
Add these lines to app/assets/stylesheets/application.css
/*
provides jqgrid jquery plugin from gem 'jqgrid-jquery-rails':
= require jqgrid-jquery-rails
*/
Contributing
- Fork it
- 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 new Pull Request
Acknowledgements
- jqGrid jQuery plugin
- jqGrid Documentation
- RailsCast #245 New Gem with Bundler -- inspiration
- Gemify Assets for Rails -- guidance