Skip to content

daniel-meister/redmine_sortable_table

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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_table}}


|_(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_table'

restart redmine



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

macros `sortable_table' include required javascript and css files.

included javascript automatically make sortable all tables with columns headers class `sortable*'

About

Make sortable tables in redmine wiki

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.2%
  • CSS 12.6%
  • Ruby 1.2%