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 518.2 Bill $29.74 2018-03-10
1 300.5 Joe $87.44 2016-09-29
2 59.3 Bob $47.84 2017-01-13
3 60.8 Matt $52.54 2016-05-16
4 156.1 Bill $39.84 2016-10-01
5 934.7 Joe $55.14 2018-02-14
6 83.9 Bob $95.94 2016-08-06
7 663.6 Matt $92.74 2016-09-28
8 650.7 Bill $44.54 2016-10-17
9 91.8 Joe $83.24 2016-09-30
10 481.1 Bob $35.04 2017-09-08
11 68.8 Matt $65.04 2017-04-16
12 201.3 Bill $71.04 2018-10-21
13 425.4 Joe $77.04 2017-04-20
14 440.5 Bob $92.64 2018-07-25
15 574.5 Matt $86.14 2017-02-20
16 141.4 Bill $94.54 2017-01-04
17 227.2 Joe $60.84 2016-10-11
18 358.6 Bob $25.94 2018-03-11
19 506.4 Matt $35.14 2017-08-28
20 639.5 Bill $83.24 2018-10-07
21 69.5 Joe $90.04 2017-08-28
22 373.6 Bob $10.24 2016-09-26
23 156.1 Matt $52.74 2019-03-07
24 464 Bill $96.84 2018-12-12
25 170.1 Joe $54.24 2018-07-04
26 426.7 Bob $68.34 2018-05-01
27 642.6 Matt $91.14 2017-02-02
28 785.8 Bill $26.94 2017-11-28
29 374.1 Joe $77.54 2019-01-08
30 794.2 Bob $41.54 2018-06-28
31 564.3 Matt $48.44 2018-03-04
32 984.8 Bill $85.84 2018-06-30
33 114.8 Joe $1.43 2016-12-30
34 15.2 Bob $47.84 2016-11-22
35 841.9 Matt $64.84 2018-08-12
36 529.7 Bill $7.53 2017-08-10
37 162.3 Joe $71.74 2017-04-29
38 403.3 Bob $50.34 2018-03-06
39 903.2 Matt $87.74 2017-06-20
40 753.9 Bill $67.14 2018-10-13
41 436.4 Joe $23.64 2017-02-23
42 19.4 Bob $22.04 2016-09-12
43 704.1 Matt $33.54 2016-09-28
44 915.9 Bill $35.04 2018-04-04
45 95.3 Joe $19.24 2017-02-21
46 816.7 Bob $72.24 2017-05-18
47 221.6 Matt $88.44 2016-06-25
48 537.1 Bill $28.74 2018-01-28
49 121.8 Joe $19.04 2017-09-08
50 482 Bob $94.44 2016-08-24
51 257.1 Matt $38.14 2017-05-23
52 516.6 Bill $40.04 2018-02-02
53 634 Joe $10.44 2019-02-25
54 765.6 Bob $2.03 2017-02-03
55 375.1 Matt $11.54 2017-09-13
56 632.7 Bill $93.24 2016-10-26
57 965 Joe $15.34 2016-06-13
58 14.6 Bob $69.04 2017-05-12
59 567.2 Matt $81.24 2017-12-18
60 996.9 Bill $29.44 2017-10-14
61 97.8 Joe $55.14 2018-12-29
62 434.2 Bob $6.73 2017-02-02
63 990.9 Matt $70.14 2017-06-02
64 882.7 Bill $46.74 2017-06-25
65 124.5 Joe $84.24 2017-11-05
66 558.4 Bob $47.54 2017-08-18
67 713.9 Matt $44.04 2018-02-11
68 753.3 Bill $45.44 2017-02-18
69 79.7 Joe $2.13 2016-07-15
70 596.5 Bob $1.83 2017-06-20
71 57.5 Matt $11.64 2019-03-20
72 899 Bill $55.04 2019-06-06
73 140.5 Joe $54.14 2018-06-25
74 485.9 Bob $42.44 2016-10-16
75 851 Matt $54.84 2019-06-17
76 331 Bill $10.64 2017-10-17
77 742.7 Joe $82.04 2019-03-10
78 307.4 Bob $57.34 2017-06-16
79 562.3 Matt $65.34 2017-07-11
80 629.1 Bill $24.94 2017-08-01
81 989.8 Joe $30.74 2017-12-13
82 901.2 Bob $20.64 2016-07-10
83 880 Matt $34.64 2018-03-28
84 560.2 Bill $83.24 2016-05-30
85 707.3 Joe $68.34 2018-02-23
86 696.3 Bob $1.43 2018-06-26
87 159.9 Matt $75.74 2017-11-30
88 62.9 Bill $6.43 2016-07-24
89 420.1 Joe $62.64 2018-08-19
90 798.5 Bob $25.54 2019-06-03
91 195 Matt $24.54 2017-03-23
92 707.3 Bill $14.64 2017-11-16
93 769.6 Joe $2.63 2018-12-22
94 372.7 Bob $58.64 2018-06-11
95 399.4 Matt $29.44 2017-06-09
96 973.9 Bill $99.04 2017-06-25
97 654.8 Joe $15.04 2016-09-16
98 155.8 Bob $21.34 2016-11-29
99 230.1 Matt $63.34 2018-11-24
100 957.3 Bill $43.14 2016-07-15
101 934.1 Joe $62.64 2017-04-25
102 217.7 Bob $33.34 2017-10-11
103 707.2 Matt $10.34 2017-11-10
104 543 Bill $47.54 2016-07-20
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 210.9 Bill $87.54 2017-06-25
1 561.8 Joe $84.94 2017-06-13
2 926.8 Bob $50.34 2017-12-03
3 48.3 Matt $65.94 2018-08-06
4 233.9 Mark $88.94 2017-06-07
5 45.6 Tom $84.64 2018-10-19
6 112.7 Jake $78.04 2017-08-12
7 424.8 Greg $99.84 2018-09-02
8 883.1 Adam $70.54 2018-12-29
9 367.5 Steve $24.84 2017-05-01
tfoot tfoot tfoot tfoot tfoot