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 253.7 Bill $2.43 2015-04-20
1 629.5 Joe $90.14 2016-02-04
2 906.6 Bob $93.14 2016-05-29
3 523.6 Matt $30.74 2016-10-03
4 1.3 Bill $83.64 2018-01-16
5 634.2 Joe $12.74 2017-04-28
6 644 Bob $55.14 2017-02-19
7 118 Matt $62.74 2015-09-02
8 872.6 Bill $34.44 2017-08-12
9 481.9 Joe $49.84 2016-10-27
10 199.4 Bob $75.24 2016-11-24
11 292.8 Matt $38.14 2016-08-01
12 636.9 Bill $28.84 2016-05-13
13 80.4 Joe $81.14 2017-05-03
14 633.2 Bob $81.34 2016-10-25
15 592.6 Matt $44.74 2017-03-21
16 324.4 Bill $9.13 2015-10-18
17 997.9 Joe $20.94 2017-10-13
18 208.1 Bob $8.13 2015-09-14
19 32 Matt $56.34 2017-04-13
20 605.9 Bill $76.24 2016-06-29
21 203.8 Joe $5.53 2017-09-14
22 702.8 Bob $69.24 2015-06-12
23 132.6 Matt $77.24 2018-01-06
24 869 Bill $40.64 2017-06-04
25 441 Joe $99.84 2015-09-02
26 139.9 Bob $32.24 2015-12-16
27 389.4 Matt $32.04 2016-08-14
28 266.2 Bill $52.84 2016-11-16
29 486.6 Joe $56.04 2015-06-29
30 205.2 Bob $16.64 2017-11-28
31 675.7 Matt $37.04 2018-01-31
32 527.4 Bill $7.33 2017-02-08
33 667 Joe $20.54 2016-05-21
34 618 Bob $7.43 2017-09-02
35 381.6 Matt $51.54 2017-08-31
36 592 Bill $65.54 2015-07-08
37 893.1 Joe $4.43 2016-07-13
38 402.9 Bob $31.04 2015-01-14
39 994 Matt $79.74 2016-10-24
40 148.2 Bill $0.23 2017-05-04
41 64.7 Joe $67.84 2015-05-05
42 36.4 Bob $20.54 2015-07-28
43 700.2 Matt $87.24 2016-03-22
44 136.2 Bill $49.04 2016-06-16
45 977.7 Joe $87.24 2018-02-02
46 817.2 Bob $46.34 2016-12-29
47 979.2 Matt $35.64 2017-02-18
48 461.4 Bill $75.94 2018-02-12
49 472 Joe $75.34 2017-06-22
50 42.8 Bob $90.24 2017-06-25
51 779.7 Matt $96.64 2016-06-17
52 886.4 Bill $0.23 2017-02-09
53 65.8 Joe $70.34 2016-09-14
54 450.2 Bob $83.94 2015-02-02
55 908.8 Matt $81.64 2017-11-06
56 882.3 Bill $63.44 2016-02-24
57 510.6 Joe $61.34 2017-04-12
58 183.1 Bob $7.43 2016-07-07
59 165.9 Matt $54.64 2015-09-26
60 945.6 Bill $58.94 2015-06-03
61 727.4 Joe $36.84 2015-04-25
62 186.9 Bob $25.54 2015-04-28
63 851.5 Matt $32.04 2017-07-19
64 388.1 Bill $77.14 2017-01-14
65 414.6 Joe $67.94 2016-06-15
66 312.5 Bob $56.24 2015-04-18
67 673.9 Matt $7.23 2017-03-27
68 391.6 Bill $25.54 2017-06-21
69 868.7 Joe $42.14 2016-01-12
70 99.2 Bob $36.74 2017-11-24
71 231 Matt $9.43 2015-11-24
72 329 Bill $28.14 2016-09-14
73 429.4 Joe $13.24 2017-09-20
74 232.4 Bob $52.04 2016-12-28
75 874.2 Matt $93.54 2015-12-23
76 332.3 Bill $24.74 2017-10-03
77 423.9 Joe $92.14 2017-12-26
78 128.3 Bob $31.34 2015-08-17
79 906.7 Matt $18.14 2016-12-16
80 231.2 Bill $28.14 2018-02-13
81 144.4 Joe $51.24 2015-04-02
82 426 Bob $84.04 2016-02-21
83 962.4 Matt $27.04 2016-07-23
84 819.2 Bill $50.24 2015-01-15
85 446.8 Joe $37.64 2018-01-01
86 753.7 Bob $70.94 2015-08-14
87 622.3 Matt $13.24 2015-05-14
88 563 Bill $26.14 2016-05-11
89 758.9 Joe $16.74 2016-12-07
90 375.8 Bob $39.94 2017-10-27
91 359.3 Matt $54.34 2016-04-10
92 436.8 Bill $96.94 2015-10-08
93 795.2 Joe $93.14 2016-08-16
94 285.9 Bob $75.04 2015-01-17
95 297 Matt $19.74 2016-03-28
96 243 Bill $95.14 2015-04-26
97 436.4 Joe $57.34 2015-09-26
98 550.9 Bob $13.64 2016-07-24
99 978.3 Matt $89.54 2017-02-03
100 587.1 Bill $27.14 2015-03-09
101 476.6 Joe $63.04 2016-11-27
102 877.6 Bob $6.73 2016-10-22
103 119.1 Matt $86.24 2016-08-03
104 630.4 Bill $14.84 2015-10-19
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 643.9 Bill $44.54 2016-06-03
1 33.8 Joe $68.84 2016-04-07
2 132.2 Bob $12.44 2018-01-30
3 363.1 Matt $67.54 2015-05-06
4 854.8 Mark $65.34 2015-01-04
5 513.8 Tom $24.04 2015-11-13
6 571.3 Jake $71.74 2017-11-11
7 171.6 Greg $59.44 2018-01-27
8 740.8 Adam $71.34 2017-08-20
9 241.1 Steve $34.44 2018-02-07
tfoot tfoot tfoot tfoot tfoot