Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Make sortable tables in redmine wiki
JavaScript Ruby
tree: 2723184bc8

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
README
init.rb

README

Sortable Tables
===============

Plugin for easy create sortable tables in redmine wiki.

By ideas of http://www.redmine.org/issues/1718

Based on "unobtrusive table sort script revisited", big thanks to Brian McAllister 
 * http://www.frequency-decoder.com/2006/09/16/unobtrusive-table-sort-script-revisited



Usage:
======

{{sortable_tables}}


|_(sortable). Column 1|_(sortable-numeric). Column 2|_. Unsortable|
|bbbb|12|something|
|aaaa|24|anything|
|cccc|9|nothing|

More info about sorting:
  http://www.frequency-decoder.com/2006/09/16/unobtrusive-table-sort-script-revisited



Installation:
=============

copy plugin into vendor/plugins directory with name `sortable_tables'

restart redmine



How it work:
============

macros `sortable_tables' include required javascript and css files.

included javascript automatically make sortable all tables with columns headers class `sortable*'
Something went wrong with that request. Please try again.