Skip to content
Rails Bootstrap Sortable is a gem that contains the assets for bootstrap-sortable 2.0.0. Adds client-side, javascript-based sorting ability to Twitter Bootstrap tables (as well as standard HTML tables).
Branch: master
Clone or download
Latest commit b7ecc21 Mar 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
vendor/assets DOM ready compatible with turbolinks 5 Aug 17, 2016
.gitignore Track Gemfile.lock, update momentjs-rails. May 27, 2015
Gemfile
Gemfile.lock update for security vulnerabilities Mar 16, 2019
LICENSE.md Updated to bootstrap-sortable 1.9.0 Oct 3, 2014
README.md
Rakefile Updated to bootstrap-sortable 1.9.0 Oct 3, 2014
rails_bootstrap_sortable.gemspec bump version to 2.0.2 Mar 21, 2018

README.md

rails_bootstrap_sortable

Gem Version

This gem packages the lovely bootstrap-sortable gem from drvic10k/bootstrap-sortable into an easy to use form. rails_bootstrap_sortable adds the ability to sort bootstrap tables (or any type of table, for that matter) via Javascript by clicking on the headers of the table. The bootstrap-sortable gem is © 2015 Matúš Brliť (drvic10k), bootstrap-sortable contributors.

Installation

Add these lines to your rails project's Gemfile:

gem 'momentjs-rails'
gem 'rails_bootstrap_sortable'

Install the new gems:

$ bundle install

(for more info see rails_bootstrap_sortable on rubygems.org)

Add this line to application.css.scss:

*= require bootstrap-sortable

Add these lines to application.js.coffee:

//= require moment
//= require bootstrap-sortable

Usage

Please see dvic10k/bootstrap-sortable for full usage information.

You can’t perform that action at this time.