Skip to content

linjunpop/jquery-tablesorter-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b641853 Â· Jun 26, 2012

History

47 Commits
Jun 26, 2012
Jun 26, 2012
Jun 26, 2012
May 28, 2012
Jun 1, 2012
Jun 26, 2012
Feb 13, 2012
Oct 21, 2011
Jun 26, 2012
Jun 1, 2012
Feb 13, 2012

Repository files navigation

jQuery Table Sorter plugin for Rails

Simple integration of jquery-tablesorter into the asset pipeline.

Current version: 2.3.10(6/21/2012), documentation

Any issue associate with the js/css files, please report to Mottie's fork.

NOTICE:

v0.0.5 users, from v1.0.0, this gem will use Mottie's fork 😄.

Install

In your Gemfile

gem 'jquery-tablesorter'

Requirements

Rails 3.1 and higher

Usage

In your application.js

require jquery-tablesorter

this will require all files.

Or you can include single file with:

//= require jquery-tablesorter/jquery.metadata
//= require jquery-tablesorter/jquery.tablesorter
//= require jquery-tablesorter/jquery.tablesorter.widgets
//= require jquery-tablesorter/addons/jquery.tablesorter.pager

In your application.css

/*
 * = require jquery-tablesorter/<theme name>
 */

Avaliable theme names:

  • blue
  • ui

In CoffeeScript file:

$('table.tablesorter').tablesorter()

About

[:warning: MOVED] Simple integration of jquery-tablesorter into the asset pipeline.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages