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 809.5 Bill $89.74 2015-11-25
1 543.1 Joe $52.64 2014-09-27
2 141.5 Bob $90.74 2015-11-07
3 354.6 Matt $91.04 2016-01-14
4 666.2 Bill $98.44 2017-01-31
5 302.6 Joe $27.84 2014-11-24
6 808.4 Bob $28.24 2016-06-28
7 276.3 Matt $75.84 2017-02-08
8 658.7 Bill $32.64 2016-06-19
9 89.5 Joe $57.34 2016-04-11
10 759.7 Bob $38.24 2015-12-13
11 208.2 Matt $92.54 2017-08-13
12 289.7 Bill $6.73 2017-04-27
13 722 Joe $42.14 2017-01-14
14 213.1 Bob $8.83 2016-12-26
15 35.4 Matt $39.04 2014-09-12
16 167.3 Bill $19.94 2015-08-04
17 801.7 Joe $47.54 2014-10-28
18 630.8 Bob $13.34 2015-11-10
19 257.5 Matt $22.34 2014-07-04
20 824.8 Bill $98.34 2015-09-19
21 288.6 Joe $19.14 2015-06-25
22 278.5 Bob $48.04 2015-09-10
23 175.4 Matt $20.24 2017-01-10
24 982.9 Bill $41.54 2017-04-21
25 774.3 Joe $45.14 2015-05-16
26 843.2 Bob $61.84 2016-01-01
27 193.9 Matt $42.04 2017-07-04
28 302.6 Bill $5.03 2014-10-05
29 737.7 Joe $30.84 2015-06-20
30 745.7 Bob $13.34 2015-05-30
31 136 Matt $42.14 2016-01-06
32 451.7 Bill $70.04 2017-07-15
33 834.3 Joe $87.54 2015-01-04
34 638.3 Bob $85.84 2016-04-28
35 529.9 Matt $63.24 2014-08-02
36 811.7 Bill $47.54 2016-07-17
37 291.9 Joe $66.94 2014-09-14
38 246.9 Bob $97.24 2014-11-11
39 335.3 Matt $70.94 2015-11-03
40 646.5 Bill $45.54 2016-04-04
41 940.3 Joe $59.14 2017-08-05
42 424.9 Bob $4.23 2016-08-22
43 389.8 Matt $87.74 2016-03-30
44 557 Bill $51.54 2015-10-17
45 139.4 Joe $4.53 2014-08-17
46 172.6 Bob $85.64 2016-02-18
47 823.7 Matt $14.84 2015-01-31
48 894.4 Bill $39.54 2014-12-29
49 15.5 Joe $73.04 2017-03-29
50 444.4 Bob $37.74 2015-07-07
51 5.9 Matt $31.74 2017-05-20
52 988.5 Bill $74.24 2017-07-08
53 670.7 Joe $13.24 2017-02-15
54 227.7 Bob $68.84 2015-08-03
55 642.4 Matt $82.84 2015-09-24
56 689.1 Bill $0.03 2015-04-11
57 210.8 Joe $82.44 2015-09-29
58 401.5 Bob $71.84 2016-12-29
59 563.7 Matt $73.44 2016-02-21
60 434.9 Bill $17.84 2017-05-01
61 760.9 Joe $18.44 2015-03-03
62 677.4 Bob $17.24 2017-07-08
63 636.2 Matt $84.34 2014-10-07
64 471.5 Bill $7.13 2016-12-12
65 821.5 Joe $71.34 2016-05-26
66 216.1 Bob $40.24 2016-05-27
67 466.8 Matt $61.34 2015-11-05
68 865.7 Bill $1.43 2014-12-14
69 659.4 Joe $57.84 2017-04-11
70 183.2 Bob $1.33 2014-09-03
71 83.7 Matt $77.44 2015-04-04
72 301 Bill $45.14 2015-10-20
73 260 Joe $8.73 2015-04-22
74 350.5 Bob $55.94 2015-07-12
75 129.4 Matt $38.04 2014-08-14
76 736.1 Bill $59.64 2015-11-22
77 343 Joe $6.33 2014-08-31
78 773.8 Bob $92.94 2014-09-17
79 922.9 Matt $58.84 2016-07-17
80 805.7 Bill $77.14 2016-08-01
81 866.6 Joe $85.54 2015-11-13
82 111.4 Bob $15.64 2017-04-18
83 528.6 Matt $41.64 2017-07-28
84 788.8 Bill $76.64 2016-03-04
85 119.8 Joe $89.54 2017-05-18
86 163.7 Bob $63.14 2016-02-05
87 609.7 Matt $97.44 2016-04-18
88 668.6 Bill $74.84 2016-01-27
89 741.7 Joe $67.14 2014-10-07
90 392.8 Bob $47.74 2017-03-17
91 56.7 Matt $34.34 2016-09-30
92 494.3 Bill $45.54 2017-03-29
93 383 Joe $98.34 2015-05-22
94 358.9 Bob $77.24 2014-08-24
95 893.4 Matt $89.24 2017-06-26
96 808.1 Bill $5.53 2016-04-25
97 318.9 Joe $66.54 2016-03-26
98 892.5 Bob $33.44 2015-06-09
99 394.7 Matt $7.53 2017-07-25
100 484.8 Bill $46.84 2015-11-27
101 345.9 Joe $52.54 2016-12-28
102 61.6 Bob $1.93 2015-04-07
103 932.9 Matt $40.24 2015-03-18
104 219.7 Bill $76.04 2014-06-27
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 272.6 Bill $65.44 2017-04-24
1 220.8 Joe $46.24 2017-06-27
2 800.4 Bob $78.14 2016-06-04
3 354.3 Matt $67.34 2017-06-25
4 656.4 Mark $6.83 2014-07-20
5 629.4 Tom $55.34 2016-01-13
6 79.2 Jake $89.94 2014-07-12
7 872.2 Greg $96.04 2014-08-02
8 119.7 Adam $89.34 2015-11-10
9 350.3 Steve $11.34 2015-02-06
tfoot tfoot tfoot tfoot tfoot