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 852.4 Bill $6.83 2015-02-09
1 175.3 Joe $77.04 2015-05-08
2 835.7 Bob $70.64 2016-10-09
3 141.9 Matt $55.64 2015-09-16
4 251.7 Bill $63.04 2017-09-14
5 322.7 Joe $27.34 2015-06-14
6 283.5 Bob $41.04 2015-04-03
7 214.5 Matt $34.04 2016-12-18
8 697.4 Bill $29.14 2015-04-17
9 476.3 Joe $4.03 2015-12-20
10 831.6 Bob $89.34 2016-03-07
11 9.4 Matt $6.83 2015-06-15
12 263 Bill $90.34 2017-09-09
13 966.2 Joe $4.53 2016-04-13
14 333.2 Bob $29.74 2015-02-09
15 329.8 Matt $62.04 2015-12-22
16 615 Bill $90.34 2017-04-09
17 838 Joe $11.84 2015-03-07
18 600.9 Bob $81.54 2016-02-07
19 836.2 Matt $29.14 2016-03-25
20 285 Bill $12.34 2015-11-21
21 801.4 Joe $13.24 2016-02-08
22 87.9 Bob $39.54 2015-10-19
23 80.2 Matt $36.14 2015-12-11
24 628 Bill $69.44 2016-11-18
25 805.5 Joe $2.43 2015-09-05
26 256.3 Bob $63.94 2015-05-16
27 116.6 Matt $47.74 2015-09-29
28 316.4 Bill $7.83 2015-02-27
29 807.6 Joe $91.44 2016-01-30
30 338.9 Bob $19.94 2016-06-20
31 762.9 Matt $0.03 2016-11-20
32 254.7 Bill $8.83 2014-12-21
33 650 Joe $16.84 2016-02-12
34 90.7 Bob $79.64 2015-02-23
35 828.4 Matt $60.24 2015-03-23
36 185.7 Bill $85.84 2017-03-31
37 446.2 Joe $97.54 2015-08-04
38 824.3 Bob $29.14 2015-11-02
39 17.3 Matt $9.83 2015-07-25
40 501.5 Bill $43.74 2016-03-11
41 108.4 Joe $20.04 2016-03-12
42 847.4 Bob $45.54 2016-06-22
43 981.4 Matt $10.54 2017-01-02
44 476.6 Bill $19.54 2016-05-12
45 666.1 Joe $2.43 2015-02-05
46 879.7 Bob $20.94 2014-08-25
47 732.3 Matt $65.54 2014-07-26
48 61.7 Bill $48.04 2015-06-28
49 468.9 Joe $49.74 2015-10-19
50 790 Bob $99.84 2017-03-08
51 309.9 Matt $10.74 2014-08-25
52 830.2 Bill $95.44 2016-02-03
53 438.5 Joe $93.54 2016-06-03
54 215.1 Bob $41.24 2017-01-15
55 787.9 Matt $7.83 2017-02-11
56 962.3 Bill $95.84 2014-08-11
57 994.5 Joe $69.04 2016-09-08
58 1.1 Bob $75.24 2015-01-14
59 298.5 Matt $22.14 2016-08-12
60 694.1 Bill $1.03 2016-08-10
61 526.8 Joe $32.04 2016-12-11
62 559.5 Bob $15.04 2016-10-19
63 47 Matt $58.94 2016-08-06
64 639 Bill $80.44 2014-09-25
65 426.3 Joe $59.24 2014-12-24
66 237.3 Bob $55.44 2014-11-05
67 257.5 Matt $54.94 2017-01-12
68 933.2 Bill $55.04 2016-03-30
69 88.7 Joe $84.84 2016-12-11
70 741.2 Bob $54.24 2016-12-23
71 392.1 Matt $6.93 2014-10-28
72 149.8 Bill $62.84 2015-04-20
73 861.7 Joe $67.54 2017-03-01
74 508.9 Bob $31.44 2016-07-17
75 568.1 Matt $74.04 2015-04-02
76 705.3 Bill $97.84 2017-01-02
77 800.2 Joe $23.54 2015-07-30
78 585 Bob $16.84 2017-04-26
79 121.5 Matt $25.74 2016-11-01
80 878.4 Bill $99.84 2015-05-21
81 645.7 Joe $39.04 2015-08-08
82 733.2 Bob $54.04 2017-08-05
83 971.1 Matt $40.14 2016-07-25
84 797.9 Bill $91.04 2017-07-23
85 428.5 Joe $47.84 2016-09-26
86 650.9 Bob $18.44 2016-08-31
87 427.5 Matt $98.44 2017-05-30
88 752.5 Bill $56.94 2014-10-10
89 627.1 Joe $69.04 2015-08-04
90 349.8 Bob $56.94 2015-08-01
91 614.4 Matt $21.44 2016-10-26
92 947.9 Bill $94.74 2015-05-12
93 909.6 Joe $91.84 2016-08-19
94 546.4 Bob $71.64 2016-05-07
95 497.4 Matt $14.54 2014-09-11
96 188.8 Bill $79.64 2015-04-12
97 857.9 Joe $22.34 2015-03-24
98 762.1 Bob $97.54 2017-01-10
99 834.5 Matt $60.24 2016-01-17
100 163.8 Bill $95.24 2014-09-05
101 491.1 Joe $56.74 2015-05-11
102 208.5 Bob $51.44 2015-03-11
103 465.8 Matt $42.44 2014-12-06
104 124.6 Bill $97.04 2017-03-14
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 693.7 Bill $46.84 2017-08-29
1 741.2 Joe $65.74 2017-01-04
2 972.1 Bob $51.44 2014-07-20
3 186.8 Matt $27.64 2017-08-22
4 970 Mark $11.14 2016-05-19
5 443.4 Tom $27.54 2016-03-24
6 485.3 Jake $76.64 2014-11-09
7 741.2 Greg $97.44 2016-06-26
8 944.5 Adam $44.04 2014-08-29
9 66.1 Steve $56.54 2014-07-26
tfoot tfoot tfoot tfoot tfoot