This gem packages the jQuery DataTables Editable plugin for easy use with the Rails 3.1+ asset pipleine.
- Add
gem 'jquery-datatables-editable-rails'
to the assets group in your Gemfile and runbundle install
. - Add the JavaScript to
application.js
:
//= require dataTables/jquery.dataTables.editable
- Add the stylesheets to
application.css
:
*= require dataTables/jquery.dataTables.editable