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 636.1 Bill $0.63 2018-02-09
1 877.8 Joe $45.54 2016-12-19
2 698.9 Bob $96.54 2016-12-11
3 617.3 Matt $84.74 2017-02-24
4 632.3 Bill $49.14 2017-12-19
5 300.5 Joe $56.24 2019-10-09
6 167.9 Bob $90.04 2018-11-18
7 424.7 Matt $81.44 2019-01-19
8 629.2 Bill $38.24 2017-06-25
9 51.4 Joe $18.64 2018-10-21
10 101.5 Bob $82.24 2018-10-28
11 523.5 Matt $69.94 2017-02-03
12 585.1 Bill $39.84 2016-12-24
13 639.9 Joe $1.53 2019-08-31
14 759.6 Bob $64.84 2018-01-19
15 137 Matt $94.84 2019-11-01
16 83.7 Bill $11.64 2019-07-08
17 749.7 Joe $54.04 2018-12-05
18 469.6 Bob $16.94 2016-12-19
19 694 Matt $22.14 2017-07-22
20 336 Bill $32.24 2016-12-27
21 983.5 Joe $84.64 2019-03-17
22 85.6 Bob $43.14 2017-04-19
23 152.2 Matt $7.13 2017-05-07
24 65.5 Bill $83.04 2019-05-26
25 469.8 Joe $96.74 2019-03-27
26 436 Bob $5.13 2019-08-08
27 302.6 Matt $80.04 2018-02-22
28 983.1 Bill $27.04 2018-09-06
29 45.4 Joe $96.44 2019-05-20
30 293.2 Bob $30.04 2017-03-26
31 362.4 Matt $28.44 2019-11-30
32 130.9 Bill $36.94 2018-02-09
33 297.4 Joe $52.14 2018-05-02
34 479.2 Bob $58.74 2017-10-17
35 308.5 Matt $5.63 2017-09-09
36 85.8 Bill $49.24 2017-11-07
37 978.9 Joe $79.54 2017-03-21
38 412.3 Bob $77.84 2018-01-28
39 15.2 Matt $82.34 2017-12-17
40 838.9 Bill $11.64 2018-11-29
41 984.9 Joe $47.94 2019-10-23
42 976.5 Bob $61.04 2017-10-23
43 398.8 Matt $90.74 2019-06-18
44 891.8 Bill $38.64 2018-02-25
45 214.9 Joe $69.54 2018-05-01
46 505.3 Bob $78.04 2019-11-22
47 846.4 Matt $75.94 2019-03-29
48 988 Bill $17.14 2018-07-15
49 399.7 Joe $18.64 2017-12-22
50 775.4 Bob $2.53 2018-05-06
51 451.1 Matt $1.03 2019-11-11
52 410.1 Bill $98.74 2018-08-16
53 738.2 Joe $38.54 2018-04-30
54 587.4 Bob $27.74 2019-07-21
55 23.2 Matt $49.24 2018-08-01
56 515.3 Bill $99.74 2017-11-20
57 499.7 Joe $84.34 2017-02-14
58 279 Bob $83.14 2017-08-31
59 836.2 Matt $23.14 2018-04-04
60 216.6 Bill $0.63 2018-05-03
61 713.3 Joe $45.74 2018-05-15
62 688.8 Bob $86.84 2018-04-30
63 273.7 Matt $60.64 2019-07-19
64 765.5 Bill $19.34 2017-04-04
65 643.2 Joe $21.64 2018-10-25
66 215.3 Bob $73.14 2018-10-21
67 567.6 Matt $23.14 2018-04-23
68 679 Bill $51.04 2017-10-10
69 961.8 Joe $34.64 2018-07-04
70 430.9 Bob $56.34 2018-07-12
71 925.4 Matt $27.64 2016-10-22
72 429.9 Bill $96.54 2019-07-23
73 921 Joe $23.84 2018-04-22
74 797.3 Bob $0.43 2018-12-02
75 950.6 Matt $64.74 2019-08-09
76 595.7 Bill $86.24 2018-10-02
77 237.8 Joe $43.04 2019-06-26
78 723.3 Bob $10.94 2017-12-06
79 40.2 Matt $7.03 2019-01-10
80 588.2 Bill $50.14 2017-08-22
81 142.5 Joe $42.64 2018-07-07
82 154.1 Bob $85.64 2018-05-27
83 33.3 Matt $77.74 2019-02-27
84 518 Bill $57.54 2019-03-03
85 195.7 Joe $52.54 2018-01-18
86 89.5 Bob $12.14 2017-08-11
87 714.5 Matt $35.84 2018-12-22
88 570.5 Bill $8.23 2019-04-26
89 936.4 Joe $12.24 2019-07-17
90 648.3 Bob $71.04 2017-12-16
91 922.7 Matt $85.24 2019-04-24
92 473.1 Bill $0.73 2018-11-08
93 987.9 Joe $4.03 2018-02-24
94 741 Bob $55.84 2016-10-19
95 497.7 Matt $75.34 2018-06-19
96 901.2 Bill $84.34 2018-11-06
97 166.6 Joe $55.74 2016-10-24
98 861.6 Bob $12.84 2017-01-26
99 665.2 Matt $6.43 2017-06-16
100 539 Bill $71.24 2019-09-16
101 914 Joe $63.54 2019-03-29
102 715.4 Bob $10.84 2019-04-06
103 373.1 Matt $9.63 2019-05-21
104 808.2 Bill $83.74 2017-12-25
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 817.7 Bill $33.44 2017-03-15
1 352.3 Joe $23.64 2019-11-15
2 7.5 Bob $40.24 2018-06-20
3 21.1 Matt $26.44 2018-11-15
4 116.4 Mark $92.94 2019-01-28
5 333.4 Tom $46.84 2018-03-01
6 260.4 Jake $38.24 2017-01-02
7 39.7 Greg $9.73 2017-05-07
8 825.5 Adam $47.04 2017-08-25
9 650.8 Steve $27.84 2017-02-17
tfoot tfoot tfoot tfoot tfoot