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 329 Bill $74.34 2017-03-08
1 352.4 Joe $92.74 2015-08-17
2 730 Bob $86.74 2018-01-22
3 449.9 Matt $96.54 2016-01-31
4 459.1 Bill $25.64 2017-12-15
5 673.7 Joe $45.94 2016-11-29
6 432.8 Bob $40.34 2017-01-12
7 730.5 Matt $50.44 2017-05-16
8 317.9 Bill $42.34 2017-02-16
9 541.3 Joe $88.44 2016-03-25
10 790.9 Bob $21.34 2015-06-02
11 454.3 Matt $56.54 2015-03-10
12 625.8 Bill $29.64 2017-12-07
13 565.8 Joe $74.54 2017-10-27
14 881.3 Bob $20.44 2015-06-18
15 788 Matt $87.84 2016-12-01
16 365.6 Bill $31.14 2018-03-12
17 981.2 Joe $4.13 2016-08-15
18 703.9 Bob $35.94 2017-12-17
19 349.5 Matt $90.04 2017-08-05
20 712.1 Bill $69.14 2015-02-06
21 818.1 Joe $14.64 2016-11-22
22 851 Bob $77.14 2017-10-30
23 750.6 Matt $33.74 2017-01-08
24 614.8 Bill $21.84 2017-09-02
25 734.9 Joe $0.63 2017-04-14
26 313.9 Bob $37.24 2015-02-06
27 296.3 Matt $35.34 2015-03-26
28 782.2 Bill $5.73 2016-05-14
29 691 Joe $40.64 2016-01-20
30 484 Bob $11.84 2018-03-30
31 490 Matt $93.64 2015-07-15
32 61.5 Bill $78.74 2017-12-24
33 928.5 Joe $53.84 2015-11-17
34 540.9 Bob $15.24 2016-07-27
35 357.7 Matt $88.74 2016-08-03
36 52.6 Bill $20.14 2017-10-07
37 58.3 Joe $49.84 2015-09-19
38 105.3 Bob $28.04 2015-11-24
39 511.3 Matt $97.14 2017-03-08
40 817.7 Bill $45.54 2017-07-23
41 815.3 Joe $94.54 2017-05-10
42 958.3 Bob $0.63 2016-09-06
43 872.5 Matt $93.54 2015-03-21
44 123.8 Bill $47.54 2015-09-13
45 593.2 Joe $83.34 2015-05-06
46 68.9 Bob $88.54 2015-12-25
47 916.3 Matt $94.44 2017-07-23
48 116.7 Bill $4.93 2015-04-11
49 373.7 Joe $56.04 2015-03-08
50 37 Bob $37.84 2016-08-15
51 818.5 Matt $19.34 2016-06-12
52 536.3 Bill $15.14 2016-06-19
53 41.3 Joe $2.43 2016-04-04
54 84 Bob $14.84 2017-10-06
55 279.2 Matt $74.14 2017-03-27
56 361.8 Bill $81.04 2016-11-14
57 645.6 Joe $72.64 2016-09-10
58 426.9 Bob $84.24 2016-11-05
59 487.9 Matt $21.64 2015-06-15
60 519.6 Bill $25.34 2016-08-25
61 5.8 Joe $7.23 2017-04-06
62 436.5 Bob $60.84 2017-09-28
63 873.2 Matt $64.94 2017-10-25
64 244.4 Bill $73.34 2015-02-12
65 90.7 Joe $1.23 2017-06-18
66 770 Bob $37.44 2016-11-09
67 334.7 Matt $1.93 2015-12-28
68 843 Bill $44.64 2015-06-29
69 400.2 Joe $93.44 2016-03-05
70 517.5 Bob $45.44 2016-12-23
71 12.7 Matt $45.94 2017-03-16
72 700.8 Bill $89.64 2015-12-18
73 540.3 Joe $76.94 2018-01-07
74 403.4 Bob $1.33 2017-03-04
75 414.1 Matt $10.44 2017-03-17
76 165.4 Bill $87.44 2015-03-24
77 726.2 Joe $20.94 2015-04-15
78 12.9 Bob $5.13 2016-09-12
79 141.9 Matt $45.14 2016-06-28
80 487.1 Bill $96.94 2017-12-05
81 85.3 Joe $98.24 2016-03-19
82 755 Bob $68.24 2015-11-19
83 32.5 Matt $22.24 2015-02-24
84 959 Bill $62.64 2015-03-12
85 618.4 Joe $4.03 2015-07-10
86 289.8 Bob $20.54 2015-02-14
87 334.9 Matt $93.24 2015-10-13
88 399.2 Bill $94.44 2015-12-11
89 909.7 Joe $8.63 2017-05-17
90 354.1 Bob $57.34 2017-04-11
91 251.9 Matt $65.84 2017-03-21
92 608.9 Bill $41.34 2016-03-18
93 861.6 Joe $44.64 2016-11-30
94 883.2 Bob $40.54 2015-09-24
95 918 Matt $2.33 2015-11-10
96 56.6 Bill $31.34 2016-07-04
97 69 Joe $64.84 2016-04-16
98 289.8 Bob $4.73 2016-02-11
99 562 Matt $95.74 2016-05-21
100 285.6 Bill $31.14 2018-03-16
101 978.2 Joe $56.24 2017-02-13
102 652.3 Bob $17.14 2015-04-06
103 8.7 Matt $3.33 2016-09-03
104 587.5 Bill $91.64 2017-12-16
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 792.3 Bill $83.44 2018-01-11
1 37 Joe $89.04 2015-11-08
2 487 Bob $95.94 2017-11-27
3 868.5 Matt $24.94 2018-01-20
4 194.4 Mark $81.14 2017-11-30
5 606.3 Tom $9.73 2015-09-24
6 591.5 Jake $7.53 2017-07-06
7 235.1 Greg $72.74 2018-01-20
8 292 Adam $73.54 2018-02-27
9 794.8 Steve $32.34 2017-11-22
tfoot tfoot tfoot tfoot tfoot