Logo
doctype [?]
[strict] [loose] [none]

Table Sorting, Filtering, Etc - BETA!


Tabular data in table form is common on web sites and web applications, and a common requirement is to manipulate the data tables on the client side, rather than going back to the server to sort, filter, page, etc. This library offers the key functionality that is typical - the most common of which is client-side table sorting.

Some of the key features of this library are:

  • Sorting is fast. Much faster than most other libraries, due to a number of optimizations
  • Rowspan and Colspan in headers will not confuse the code
  • Alternate row coloring (a common item) is handled by re-shading after sorting or filtering
  • Tbody contents are handled separately, so there can be separate sortable sections of a table
  • Easy CSS classes are applied to cells after filtering, sorting, etc which you can hook into from your CSS rules to show the sorted column or the cells which are filtered.

Unobtrusive Client-Side Table Sorting, Filtering, and Paging Example

All of the functionality in these tables was accomplished by simply inserting class names.

Absolutely no javascript coding was required!


Index Numeric Text Currency Date
0 228.4 Bill $70.34 2017-03-14
1 671.3 Joe $98.54 2015-04-28
2 844.1 Bob $86.34 2014-09-20
3 771 Matt $24.54 2017-07-12
4 299.7 Bill $49.44 2017-10-10
5 645.1 Joe $15.64 2016-06-23
6 616.7 Bob $59.34 2016-04-26
7 839.5 Matt $17.44 2016-05-01
8 29.9 Bill $85.04 2016-11-26
9 875.5 Joe $11.74 2017-07-25
10 468.9 Bob $34.64 2016-08-15
11 265.9 Matt $1.73 2016-07-29
12 470.8 Bill $86.14 2016-02-22
13 485.2 Joe $63.24 2016-12-01
14 386.7 Bob $93.24 2015-04-26
15 365.7 Matt $57.64 2015-10-23
16 935 Bill $19.34 2017-09-09
17 454.5 Joe $3.33 2015-01-27
18 977.8 Bob $6.23 2017-10-07
19 682.3 Matt $93.84 2014-12-20
20 594.6 Bill $40.74 2016-01-24
21 209.8 Joe $67.34 2016-02-13
22 810.3 Bob $14.34 2015-09-05
23 274.1 Matt $62.94 2017-09-05
24 982.6 Bill $1.53 2017-06-18
25 185.3 Joe $38.14 2016-02-13
26 544.1 Bob $31.64 2016-09-24
27 496 Matt $77.04 2016-10-31
28 622.4 Bill $74.84 2017-01-12
29 598.4 Joe $43.04 2016-11-01
30 691.7 Bob $2.53 2014-12-15
31 130.6 Matt $23.54 2017-02-01
32 586.3 Bill $4.53 2017-07-17
33 903 Joe $31.94 2016-05-13
34 851.4 Bob $30.14 2016-05-31
35 731.3 Matt $48.74 2017-08-15
36 187.7 Bill $3.13 2015-06-15
37 837.1 Joe $52.74 2014-09-22
38 519.1 Bob $14.94 2017-02-04
39 263.5 Matt $74.74 2015-04-16
40 945.8 Bill $43.94 2015-05-15
41 34.9 Joe $57.04 2016-02-11
42 796.7 Bob $15.64 2016-04-02
43 701.8 Matt $5.93 2017-04-07
44 235.7 Bill $91.04 2015-01-19
45 784.8 Joe $64.24 2016-08-04
46 714.8 Bob $82.94 2016-09-09
47 960.7 Matt $66.64 2015-03-11
48 977 Bill $18.54 2015-08-30
49 741.4 Joe $44.94 2014-11-11
50 936 Bob $39.54 2016-04-02
51 155.4 Matt $42.94 2014-11-21
52 609.4 Bill $22.64 2015-05-20
53 108.2 Joe $92.84 2015-07-27
54 925.9 Bob $16.34 2015-04-14
55 45 Matt $94.84 2017-04-26
56 650.8 Bill $66.34 2016-10-10
57 287.2 Joe $62.44 2015-09-20
58 450.3 Bob $60.04 2016-04-21
59 762.4 Matt $34.24 2017-09-22
60 821.8 Bill $27.84 2015-10-23
61 320.2 Joe $43.34 2017-03-03
62 388.3 Bob $4.23 2014-09-19
63 612.2 Matt $15.14 2017-08-27
64 895 Bill $7.63 2015-01-02
65 87.9 Joe $12.14 2014-11-03
66 922.3 Bob $77.24 2016-12-09
67 585.8 Matt $5.93 2015-09-30
68 915.4 Bill $50.94 2017-08-25
69 430.3 Joe $27.24 2015-07-26
70 394 Bob $9.33 2016-06-11
71 752.1 Matt $41.44 2017-10-25
72 539.6 Bill $80.24 2014-10-13
73 553.1 Joe $41.44 2015-04-05
74 494.2 Bob $30.94 2015-07-02
75 598.8 Matt $39.74 2015-11-20
76 651.4 Bill $31.94 2015-03-01
77 366.8 Joe $90.54 2015-05-08
78 705.6 Bob $82.04 2016-12-18
79 645 Matt $25.14 2017-10-28
80 926.1 Bill $64.54 2014-12-14
81 484.9 Joe $39.74 2016-04-06
82 476.7 Bob $93.64 2015-08-21
83 511 Matt $48.94 2016-12-12
84 695.8 Bill $98.34 2014-10-04
85 957 Joe $58.24 2016-01-07
86 339.5 Bob $23.34 2017-01-10
87 494 Matt $60.04 2016-09-22
88 707.6 Bill $30.64 2016-02-27
89 430.6 Joe $95.14 2016-12-13
90 425.3 Bob $87.74 2015-10-28
91 513.5 Matt $36.14 2017-01-29
92 15.4 Bill $83.84 2016-11-16
93 319.2 Joe $34.94 2015-04-05
94 37.1 Bob $4.53 2015-03-16
95 64 Matt $0.23 2017-01-18
96 487.8 Bill $34.14 2017-10-15
97 230.8 Joe $83.54 2016-07-09
98 878.5 Bob $54.34 2017-06-28
99 346.4 Matt $97.34 2017-05-02
100 64.8 Bill $39.84 2016-12-10
101 427.6 Joe $91.24 2014-12-02
102 186.9 Bob $92.74 2017-07-28
103 882.3 Matt $24.64 2015-07-06
104 66.8 Bill $28.34 2015-08-27
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 234.6 Bill $34.74 2015-08-29
1 984.4 Joe $83.54 2016-09-27
2 967.5 Bob $6.63 2016-03-20
3 550.6 Matt $94.44 2014-10-07
4 439.4 Mark $29.14 2014-09-06
5 278.8 Tom $35.54 2015-12-11
6 994.7 Jake $78.34 2015-08-31
7 71.9 Greg $97.04 2015-06-08
8 987.2 Adam $85.24 2016-03-19
9 251.4 Steve $91.94 2017-02-10
tfoot tfoot tfoot tfoot tfoot