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 891.3 Bill $68.44 2019-09-18
1 856.8 Joe $83.04 2019-08-12
2 298.2 Bob $30.84 2020-05-18
3 854.7 Matt $9.73 2020-08-22
4 582.2 Bill $84.74 2020-12-25
5 497.5 Joe $10.94 2020-11-21
6 255.6 Bob $46.94 2019-03-02
7 482.2 Matt $53.14 2019-12-24
8 173.2 Bill $38.54 2020-03-28
9 484.5 Joe $41.04 2021-04-12
10 170.8 Bob $30.14 2020-04-11
11 348.2 Matt $15.84 2019-09-27
12 493.8 Bill $45.64 2020-09-18
13 881.2 Joe $31.14 2021-01-07
14 351 Bob $89.34 2020-07-14
15 928.9 Matt $39.04 2020-11-17
16 477.3 Bill $64.64 2019-03-14
17 482.1 Joe $12.84 2020-11-17
18 742.8 Bob $30.14 2022-02-06
19 85.9 Matt $78.54 2020-03-25
20 757.5 Bill $95.64 2021-03-08
21 112.8 Joe $30.44 2021-09-07
22 298 Bob $79.84 2019-12-17
23 791.1 Matt $67.94 2020-12-11
24 380.8 Bill $3.03 2020-08-08
25 817.6 Joe $95.94 2021-11-03
26 363.1 Bob $43.64 2020-09-19
27 377.5 Matt $91.84 2021-02-14
28 923.2 Bill $66.14 2022-01-28
29 854 Joe $74.74 2021-05-25
30 194.5 Bob $50.44 2021-04-04
31 836 Matt $61.74 2022-03-22
32 635.3 Bill $91.54 2021-08-01
33 890.4 Joe $70.64 2020-07-25
34 456.1 Bob $8.73 2020-08-29
35 914.5 Matt $90.44 2020-07-13
36 763 Bill $26.84 2021-11-30
37 257.2 Joe $64.54 2021-08-27
38 879.2 Bob $56.84 2020-07-31
39 802.1 Matt $42.24 2019-10-12
40 510.5 Bill $61.74 2021-05-18
41 175.1 Joe $45.34 2020-03-01
42 144 Bob $8.83 2019-11-23
43 910.9 Matt $97.84 2022-02-18
44 357.2 Bill $43.44 2019-03-29
45 833.6 Joe $34.94 2022-02-07
46 269.2 Bob $11.24 2019-10-14
47 141 Matt $36.94 2021-10-29
48 931.1 Bill $24.84 2020-06-16
49 382.3 Joe $5.03 2021-10-18
50 580.3 Bob $56.04 2020-07-31
51 282.6 Matt $73.64 2022-01-06
52 602.1 Bill $88.04 2022-04-17
53 836.5 Joe $79.04 2022-03-23
54 777.1 Bob $14.84 2020-06-06
55 804.5 Matt $98.14 2021-07-15
56 736.4 Bill $25.04 2021-11-21
57 935.7 Joe $39.14 2019-11-21
58 779.9 Bob $32.24 2020-09-03
59 192.3 Matt $70.44 2020-10-31
60 26.8 Bill $28.54 2019-06-10
61 477.8 Joe $56.74 2021-10-09
62 381.3 Bob $16.94 2021-05-22
63 372.6 Matt $0.63 2020-09-21
64 342 Bill $78.34 2021-03-11
65 745.7 Joe $58.74 2021-02-17
66 498.1 Bob $32.44 2021-12-04
67 362.1 Matt $25.94 2019-12-30
68 594.8 Bill $3.93 2021-01-06
69 75.5 Joe $23.14 2020-01-30
70 606.2 Bob $25.84 2020-12-24
71 697.3 Matt $73.64 2019-08-11
72 524 Bill $11.74 2020-02-23
73 230.1 Joe $49.04 2020-03-01
74 726.5 Bob $83.24 2019-06-23
75 370.3 Matt $57.74 2021-05-03
76 995.2 Bill $7.53 2019-03-12
77 870.3 Joe $43.74 2020-01-06
78 136.4 Bob $3.23 2020-02-20
79 724.8 Matt $10.74 2020-11-14
80 17.5 Bill $71.44 2021-09-08
81 594.9 Joe $41.14 2020-11-06
82 739.5 Bob $93.54 2021-03-22
83 53.3 Matt $16.54 2019-08-09
84 372.8 Bill $89.14 2022-03-28
85 475 Joe $26.24 2020-11-24
86 164.5 Bob $25.74 2021-02-19
87 177.4 Matt $12.74 2019-05-09
88 449.5 Bill $26.34 2019-06-15
89 760.5 Joe $98.84 2019-10-17
90 302.9 Bob $0.63 2022-01-20
91 103.3 Matt $60.04 2020-03-09
92 639.4 Bill $34.04 2019-12-25
93 292.4 Joe $39.34 2020-07-03
94 434.8 Bob $76.64 2020-02-28
95 408.7 Matt $24.14 2020-12-26
96 959.7 Bill $40.54 2021-10-19
97 585.8 Joe $58.34 2022-03-15
98 649.1 Bob $3.23 2019-11-14
99 744.3 Matt $79.34 2019-10-31
100 946.8 Bill $9.63 2019-11-06
101 862.9 Joe $19.94 2021-10-01
102 189.9 Bob $83.84 2019-08-29
103 451.6 Matt $13.04 2020-11-26
104 878 Bill $56.54 2020-02-29
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 195.8 Bill $97.44 2020-12-04
1 775.1 Joe $93.34 2022-03-18
2 611.1 Bob $51.94 2020-11-20
3 574 Matt $16.84 2020-12-27
4 800.1 Mark $91.24 2020-05-01
5 14.3 Tom $85.94 2020-08-19
6 234 Jake $72.24 2021-04-06
7 54.1 Greg $91.24 2020-10-01
8 214 Adam $36.44 2021-02-28
9 767 Steve $24.14 2019-10-14
tfoot tfoot tfoot tfoot tfoot