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 786.8 Bill $55.14 2016-05-16
1 684.2 Joe $47.94 2015-10-17
2 365.6 Bob $21.94 2016-06-27
3 253.5 Matt $1.63 2017-04-19
4 153 Bill $46.84 2016-03-22
5 794.3 Joe $95.94 2016-11-14
6 216.9 Bob $57.24 2015-10-30
7 736.7 Matt $66.84 2016-09-04
8 104.6 Bill $68.94 2015-05-14
9 92.8 Joe $50.84 2017-01-06
10 992 Bob $29.54 2015-08-06
11 505 Matt $97.94 2017-02-09
12 834.2 Bill $34.54 2017-10-21
13 383.4 Joe $59.84 2017-11-09
14 188.1 Bob $75.14 2016-03-03
15 653.7 Matt $54.54 2016-01-16
16 323.5 Bill $76.24 2017-11-09
17 664.7 Joe $49.94 2016-10-20
18 273.6 Bob $60.34 2015-10-26
19 468.2 Matt $69.64 2017-06-06
20 184.1 Bill $68.84 2015-03-13
21 451.3 Joe $19.34 2015-02-16
22 196.9 Bob $2.73 2016-03-21
23 161.8 Matt $41.14 2014-12-12
24 142.9 Bill $59.94 2017-04-29
25 592.1 Joe $25.24 2015-11-20
26 0.7 Bob $57.64 2015-02-18
27 981.8 Matt $24.04 2016-09-17
28 630.6 Bill $51.44 2015-06-16
29 968.4 Joe $98.24 2017-08-29
30 814.4 Bob $16.64 2016-09-02
31 955.2 Matt $61.74 2017-04-14
32 75.2 Bill $81.44 2017-05-15
33 539.8 Joe $97.64 2015-07-03
34 602.5 Bob $11.94 2017-05-26
35 416.1 Matt $71.14 2015-01-11
36 775.1 Bill $71.24 2016-11-07
37 896.1 Joe $69.34 2017-08-13
38 515.9 Bob $32.44 2016-01-28
39 739.1 Matt $29.24 2016-01-07
40 658.4 Bill $10.74 2016-07-17
41 265.7 Joe $6.23 2015-05-01
42 66 Bob $13.74 2017-11-29
43 893.6 Matt $67.74 2017-11-01
44 131.7 Bill $27.94 2015-01-16
45 968.3 Joe $69.54 2017-04-17
46 57.1 Bob $47.04 2016-05-18
47 721.6 Matt $36.64 2015-05-29
48 626.4 Bill $88.24 2016-06-07
49 44.9 Joe $62.14 2017-05-11
50 445.5 Bob $27.94 2017-09-12
51 12.1 Matt $54.54 2017-11-22
52 195.9 Bill $61.14 2015-02-27
53 193.9 Joe $50.54 2017-04-20
54 167.8 Bob $63.64 2015-01-07
55 260.5 Matt $60.54 2017-03-21
56 63.9 Bill $66.24 2015-07-17
57 578.9 Joe $38.34 2016-09-13
58 787.1 Bob $0.93 2016-04-29
59 319.1 Matt $5.43 2015-02-16
60 143.3 Bill $50.04 2016-01-05
61 74 Joe $51.24 2017-09-27
62 66.4 Bob $70.84 2016-07-04
63 195.7 Matt $90.24 2014-12-09
64 1.5 Bill $6.93 2016-12-14
65 86.4 Joe $33.04 2015-09-13
66 866.4 Bob $39.44 2017-10-18
67 116.4 Matt $97.34 2015-11-04
68 732.7 Bill $76.04 2015-11-15
69 231.1 Joe $7.93 2016-01-17
70 350.6 Bob $22.24 2017-08-17
71 749.6 Matt $29.64 2016-01-30
72 693.6 Bill $36.24 2015-02-26
73 248.8 Joe $55.84 2014-11-04
74 308.6 Bob $55.94 2015-01-24
75 4.7 Matt $64.64 2016-02-09
76 305.2 Bill $51.24 2017-05-10
77 267.4 Joe $62.84 2017-04-08
78 612.8 Bob $36.14 2016-07-04
79 967.6 Matt $59.24 2016-10-03
80 376.7 Bill $94.34 2017-06-17
81 285.7 Joe $69.24 2015-03-25
82 706.4 Bob $38.64 2016-05-17
83 834.8 Matt $63.54 2014-12-22
84 864.9 Bill $94.34 2016-09-30
85 964.3 Joe $94.84 2015-08-17
86 393.6 Bob $25.34 2017-03-31
87 216.6 Matt $52.04 2016-01-26
88 12.1 Bill $13.34 2017-03-19
89 567.2 Joe $10.14 2015-12-03
90 200.9 Bob $47.74 2015-09-27
91 56.5 Matt $76.34 2014-10-06
92 207.9 Bill $46.94 2015-12-27
93 721.6 Joe $30.44 2014-10-30
94 793.1 Bob $16.94 2017-10-25
95 424 Matt $13.34 2017-08-26
96 700.5 Bill $52.74 2015-04-14
97 489.1 Joe $74.34 2016-12-06
98 906 Bob $75.54 2017-05-09
99 684 Matt $32.24 2017-09-03
100 54.1 Bill $52.34 2016-01-06
101 366.9 Joe $58.04 2015-04-07
102 371.9 Bob $78.84 2016-10-01
103 762.7 Matt $50.94 2017-09-18
104 788.1 Bill $30.24 2015-01-30
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 756.5 Bill $72.64 2015-07-03
1 672.6 Joe $42.74 2017-03-03
2 841.6 Bob $91.64 2016-05-10
3 530.9 Matt $82.24 2015-08-01
4 353.2 Mark $50.64 2016-08-08
5 275.9 Tom $56.04 2015-02-03
6 676 Jake $92.74 2016-12-05
7 838.8 Greg $29.94 2016-04-03
8 470.9 Adam $6.13 2017-11-14
9 407 Steve $84.94 2015-08-29
tfoot tfoot tfoot tfoot tfoot