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 611.5 Bill $30.74 2021-04-06
1 803.3 Joe $42.44 2020-03-06
2 919 Bob $42.64 2019-12-30
3 92 Matt $9.23 2021-09-08
4 73.5 Bill $35.14 2020-05-16
5 465 Joe $7.23 2021-01-19
6 621.7 Bob $29.34 2020-01-29
7 789.3 Matt $20.04 2020-09-15
8 855.3 Bill $2.43 2021-11-05
9 665.2 Joe $59.64 2021-10-08
10 985.3 Bob $20.74 2019-07-28
11 735.1 Matt $1.03 2020-11-30
12 142.7 Bill $92.94 2019-02-05
13 492.2 Joe $2.13 2019-05-22
14 375.5 Bob $9.53 2020-07-01
15 844.8 Matt $56.04 2020-09-23
16 528 Bill $18.14 2021-08-28
17 903.6 Joe $97.04 2019-02-14
18 477.5 Bob $82.64 2019-03-13
19 411.7 Matt $49.14 2021-01-30
20 320.9 Bill $47.64 2021-09-27
21 537 Joe $21.14 2021-10-09
22 176.9 Bob $35.44 2021-07-19
23 243 Matt $84.64 2021-08-12
24 401 Bill $22.14 2021-11-30
25 910 Joe $6.63 2020-07-08
26 490.8 Bob $59.44 2021-02-03
27 365 Matt $49.84 2020-12-31
28 438.8 Bill $97.54 2020-06-12
29 536 Joe $38.74 2022-01-01
30 229 Bob $70.84 2020-05-05
31 128.9 Matt $24.54 2021-01-05
32 39.1 Bill $42.14 2018-12-19
33 878.5 Joe $66.54 2021-08-24
34 739.2 Bob $6.53 2019-03-07
35 694.6 Matt $97.54 2019-05-22
36 209.6 Bill $46.64 2021-04-09
37 905.9 Joe $83.14 2019-09-05
38 572.7 Bob $27.04 2019-08-07
39 65.2 Matt $80.64 2020-10-28
40 48.6 Bill $3.53 2019-11-25
41 508.1 Joe $16.34 2020-09-03
42 178.8 Bob $20.24 2022-01-03
43 203.3 Matt $8.13 2020-12-11
44 73.8 Bill $82.04 2021-02-25
45 165.6 Joe $51.54 2021-01-27
46 323.6 Bob $72.44 2019-05-20
47 75.6 Matt $63.04 2022-01-05
48 325.3 Bill $20.34 2019-09-13
49 550 Joe $26.84 2019-01-31
50 161.4 Bob $31.64 2019-03-12
51 480.5 Matt $82.44 2019-09-17
52 44.1 Bill $0.33 2020-05-08
53 29.1 Joe $20.64 2020-08-10
54 678.6 Bob $28.04 2020-01-15
55 393.3 Matt $44.64 2021-09-01
56 83.3 Bill $76.94 2020-10-17
57 239.3 Joe $84.54 2019-08-16
58 226.2 Bob $17.04 2020-04-06
59 482.7 Matt $72.04 2021-02-10
60 544.7 Bill $88.14 2018-12-12
61 641.3 Joe $36.24 2021-07-23
62 901.3 Bob $40.64 2021-07-27
63 363.7 Matt $43.54 2019-01-20
64 907.1 Bill $11.34 2019-12-10
65 270.5 Joe $50.74 2021-05-09
66 148.5 Bob $59.04 2020-08-15
67 750.7 Matt $82.94 2020-02-18
68 982.8 Bill $5.53 2020-09-02
69 417.5 Joe $53.84 2019-10-14
70 119.9 Bob $8.33 2019-05-29
71 138.5 Matt $72.44 2020-07-21
72 981.6 Bill $62.54 2021-11-03
73 827.8 Joe $98.94 2020-01-19
74 880.4 Bob $89.64 2020-05-29
75 213.2 Matt $16.64 2022-01-05
76 991.6 Bill $31.54 2020-09-18
77 539.4 Joe $6.53 2020-03-04
78 932 Bob $4.83 2020-05-07
79 494.8 Matt $46.64 2022-01-20
80 777.5 Bill $58.54 2019-02-23
81 941.7 Joe $72.44 2021-06-10
82 467.6 Bob $70.54 2020-04-02
83 399.5 Matt $53.34 2020-03-20
84 766.2 Bill $41.44 2019-11-20
85 246.4 Joe $62.74 2020-05-31
86 233.2 Bob $61.84 2021-05-30
87 810 Matt $15.84 2021-08-14
88 215.9 Bill $8.93 2021-10-08
89 677.1 Joe $58.44 2020-01-29
90 676.2 Bob $36.24 2021-12-06
91 757.9 Matt $30.34 2021-01-20
92 563.4 Bill $77.14 2020-02-14
93 994 Joe $17.04 2021-10-23
94 413.4 Bob $93.64 2019-12-14
95 728.6 Matt $18.34 2021-12-09
96 210.1 Bill $41.64 2020-09-23
97 6.4 Joe $22.64 2021-03-24
98 868.1 Bob $44.24 2021-07-05
99 777.9 Matt $11.94 2020-03-11
100 153.2 Bill $79.54 2021-05-04
101 113.8 Joe $55.34 2019-02-17
102 798.2 Bob $11.64 2021-07-28
103 188 Matt $11.04 2018-12-11
104 110.8 Bill $52.34 2021-11-29
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 447.1 Bill $25.24 2019-04-28
1 409.9 Joe $46.24 2020-08-21
2 990.7 Bob $46.84 2021-05-10
3 729.1 Matt $33.64 2019-08-02
4 556.9 Mark $11.44 2019-12-18
5 968.9 Tom $26.74 2019-04-24
6 742.5 Jake $38.14 2021-01-23
7 819.4 Greg $17.94 2021-06-06
8 667.1 Adam $36.74 2021-10-12
9 685.1 Steve $47.84 2020-04-08
tfoot tfoot tfoot tfoot tfoot