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 887.2 Bill $6.73 2016-09-30
1 791.4 Joe $85.54 2017-03-02
2 75.2 Bob $4.13 2014-08-19
3 150.1 Matt $81.24 2016-04-29
4 396.8 Bill $34.94 2014-11-19
5 364.7 Joe $69.74 2015-03-13
6 762.4 Bob $79.54 2016-10-03
7 712.3 Matt $40.14 2014-12-27
8 495.4 Bill $67.64 2014-12-20
9 252.2 Joe $30.04 2016-01-13
10 672.9 Bob $18.74 2016-03-31
11 353.2 Matt $97.84 2015-10-15
12 165.7 Bill $5.33 2015-12-02
13 177.5 Joe $20.44 2015-04-29
14 724.5 Bob $60.04 2016-06-06
15 816.2 Matt $96.54 2015-06-21
16 6.1 Bill $72.74 2014-10-26
17 688.8 Joe $44.04 2016-02-03
18 813.3 Bob $93.54 2015-01-23
19 931.8 Matt $18.74 2016-01-05
20 386.1 Bill $86.04 2016-08-08
21 907.7 Joe $21.34 2016-07-14
22 284.7 Bob $37.94 2016-09-14
23 703 Matt $55.64 2017-05-07
24 933.3 Bill $28.04 2016-01-30
25 513 Joe $9.73 2015-12-21
26 789.6 Bob $10.34 2015-02-08
27 860.6 Matt $79.14 2016-06-30
28 333 Bill $60.54 2016-04-16
29 480.8 Joe $53.64 2016-11-18
30 928.4 Bob $92.24 2016-06-09
31 562.8 Matt $83.04 2017-02-10
32 175.3 Bill $11.54 2015-02-22
33 841.2 Joe $81.84 2016-11-26
34 710.5 Bob $75.14 2014-08-16
35 179.9 Matt $26.44 2014-12-06
36 614.1 Bill $5.33 2015-04-03
37 775.4 Joe $91.44 2017-10-05
38 376.2 Bob $24.74 2016-07-04
39 911.7 Matt $72.84 2015-01-14
40 634.1 Bill $65.64 2014-10-16
41 216.2 Joe $21.94 2017-06-03
42 11 Bob $39.44 2014-08-13
43 184.4 Matt $23.54 2017-03-16
44 913.5 Bill $94.54 2016-06-01
45 923 Joe $12.54 2017-04-02
46 28.9 Bob $73.94 2017-06-02
47 237.3 Matt $51.54 2017-02-23
48 237 Bill $89.14 2014-10-05
49 841.1 Joe $80.34 2017-01-24
50 981.4 Bob $43.74 2015-12-22
51 43.9 Matt $65.34 2016-08-31
52 936.2 Bill $66.44 2014-09-30
53 943.1 Joe $84.84 2015-06-29
54 767.5 Bob $76.24 2015-04-27
55 342.6 Matt $68.54 2015-09-18
56 181.4 Bill $71.34 2014-11-21
57 73.5 Joe $95.14 2016-07-08
58 879.3 Bob $18.84 2016-03-04
59 931.9 Matt $2.93 2015-07-19
60 711.9 Bill $1.03 2016-12-06
61 147.8 Joe $5.43 2015-10-31
62 802.2 Bob $99.04 2014-10-06
63 850.5 Matt $93.34 2017-06-14
64 133.7 Bill $70.04 2016-09-11
65 362.3 Joe $4.33 2015-09-12
66 716 Bob $22.44 2014-10-15
67 809 Matt $29.84 2014-08-19
68 416.7 Bill $17.74 2015-03-24
69 915.1 Joe $10.94 2015-04-26
70 216.1 Bob $82.14 2015-05-07
71 953.6 Matt $96.84 2015-07-08
72 343.8 Bill $77.14 2015-06-26
73 397.8 Joe $62.14 2015-04-10
74 299.7 Bob $75.54 2017-06-28
75 963.1 Matt $11.74 2017-08-17
76 310.9 Bill $83.34 2015-03-03
77 372 Joe $64.24 2016-02-10
78 383.8 Bob $5.83 2016-09-02
79 583 Matt $97.44 2017-01-06
80 810.8 Bill $19.04 2016-06-13
81 48.3 Joe $14.34 2016-05-07
82 339.6 Bob $48.74 2015-08-15
83 620.6 Matt $88.54 2017-08-03
84 834.6 Bill $18.44 2016-10-23
85 748.9 Joe $14.74 2017-03-07
86 706 Bob $45.84 2016-08-26
87 887.5 Matt $83.04 2015-07-08
88 366.6 Bill $21.44 2015-09-14
89 22.6 Joe $79.74 2015-08-14
90 787.4 Bob $60.84 2016-03-21
91 372.8 Matt $65.64 2016-09-02
92 926.6 Bill $99.54 2015-01-18
93 250.8 Joe $61.64 2014-09-06
94 196.1 Bob $45.04 2015-04-07
95 896 Matt $19.94 2015-09-25
96 712.7 Bill $90.54 2017-03-08
97 362.3 Joe $79.34 2016-08-24
98 653.7 Bob $15.94 2017-04-28
99 3.6 Matt $18.24 2016-09-05
100 327 Bill $96.94 2015-06-08
101 840 Joe $34.24 2017-07-06
102 496.2 Bob $26.94 2017-07-01
103 639.3 Matt $51.94 2016-04-12
104 667 Bill $71.54 2017-09-16
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 879.1 Bill $61.14 2015-03-04
1 238.4 Joe $32.44 2014-11-14
2 55.9 Bob $68.64 2017-05-20
3 703.4 Matt $34.04 2014-09-20
4 564.9 Mark $34.44 2015-04-18
5 223.1 Tom $67.04 2015-03-13
6 488.8 Jake $51.04 2016-04-12
7 410.2 Greg $0.73 2017-02-17
8 327 Adam $64.64 2015-08-10
9 859.6 Steve $31.34 2014-09-15
tfoot tfoot tfoot tfoot tfoot