-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME
43 lines (23 loc) · 898 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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*'