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 588.1 Bill $17.64 2019-08-04
1 800 Joe $82.74 2019-07-28
2 844.8 Bob $75.14 2019-03-18
3 372.7 Matt $51.04 2021-02-07
4 305 Bill $98.14 2020-03-16
5 238.6 Joe $68.94 2018-11-15
6 848.8 Bob $69.34 2020-10-06
7 43.8 Matt $80.14 2018-09-23
8 40.8 Bill $15.54 2020-08-03
9 272.6 Joe $28.34 2018-09-26
10 731.3 Bob $87.14 2019-04-17
11 86.8 Matt $67.14 2018-09-28
12 436.3 Bill $51.64 2021-02-14
13 671.9 Joe $88.84 2019-07-28
14 504.9 Bob $19.34 2019-07-06
15 54.4 Matt $43.24 2018-07-12
16 183.9 Bill $28.14 2020-09-21
17 910 Joe $32.44 2020-02-04
18 993.7 Bob $36.54 2020-08-02
19 664.8 Matt $63.84 2021-06-25
20 750.3 Bill $36.94 2021-01-27
21 11.5 Joe $45.64 2020-01-12
22 99.5 Bob $89.24 2018-06-30
23 938.5 Matt $56.44 2021-04-23
24 287.8 Bill $6.83 2018-10-02
25 618.5 Joe $12.34 2020-02-14
26 638.6 Bob $30.74 2021-01-04
27 352.1 Matt $21.74 2018-11-14
28 866.7 Bill $21.04 2020-01-10
29 536.6 Joe $87.54 2018-11-17
30 489.3 Bob $62.54 2020-01-18
31 312.9 Matt $63.74 2021-06-28
32 807.4 Bill $73.64 2021-02-22
33 817.4 Joe $67.54 2019-10-06
34 715.7 Bob $96.24 2019-12-25
35 807.2 Matt $58.14 2020-05-15
36 330.5 Bill $21.94 2021-05-05
37 134.2 Joe $57.14 2018-11-10
38 262.3 Bob $43.84 2019-07-11
39 755.3 Matt $97.54 2019-02-17
40 885.9 Bill $46.44 2021-02-09
41 385.2 Joe $77.74 2019-12-17
42 340.1 Bob $58.44 2019-02-15
43 186.7 Matt $40.24 2021-04-05
44 597 Bill $11.74 2021-02-21
45 75.6 Joe $92.44 2019-10-25
46 677.2 Bob $25.54 2020-07-05
47 585.3 Matt $38.94 2019-02-25
48 710.2 Bill $65.14 2020-07-16
49 45.3 Joe $40.64 2020-06-17
50 255.4 Bob $29.24 2018-10-05
51 90.8 Matt $67.74 2021-03-22
52 562.9 Bill $1.83 2019-11-27
53 771.1 Joe $20.44 2021-03-06
54 654 Bob $80.14 2021-07-19
55 499.3 Matt $87.74 2021-04-23
56 925.4 Bill $55.44 2018-12-12
57 571 Joe $13.94 2020-03-06
58 788 Bob $84.94 2019-01-27
59 443.2 Matt $89.44 2020-05-12
60 73.2 Bill $15.04 2021-04-15
61 167.1 Joe $24.04 2020-04-07
62 37.8 Bob $80.34 2020-04-27
63 492.7 Matt $57.44 2020-12-19
64 349.1 Bill $22.84 2020-05-03
65 322.6 Joe $72.84 2019-12-12
66 220.4 Bob $65.34 2018-07-13
67 373 Matt $22.44 2018-12-21
68 914.4 Bill $1.23 2018-06-30
69 107 Joe $45.54 2021-04-30
70 706 Bob $52.84 2018-08-19
71 597.1 Matt $69.54 2019-05-25
72 165.6 Bill $73.34 2018-10-09
73 751.5 Joe $22.64 2020-08-03
74 541.5 Bob $57.54 2021-04-25
75 132.5 Matt $89.74 2020-06-13
76 600.1 Bill $11.84 2019-05-08
77 621.4 Joe $49.04 2020-01-22
78 781.8 Bob $40.54 2020-02-05
79 791.2 Matt $51.24 2021-07-15
80 695 Bill $21.84 2020-01-16
81 748.5 Joe $81.54 2019-01-28
82 42.3 Bob $98.04 2021-05-25
83 139.4 Matt $73.24 2018-12-11
84 810.6 Bill $27.34 2020-10-06
85 710 Joe $40.64 2020-06-09
86 336.9 Bob $0.63 2020-10-23
87 616.5 Matt $62.74 2019-03-13
88 119.9 Bill $40.94 2020-06-24
89 635 Joe $20.04 2018-12-07
90 605 Bob $89.54 2019-08-16
91 103.1 Matt $64.34 2019-01-13
92 296.3 Bill $68.64 2018-12-21
93 222.3 Joe $82.54 2021-04-16
94 373.8 Bob $63.54 2018-12-27
95 99.8 Matt $34.54 2020-04-09
96 723 Bill $68.24 2020-04-16
97 463.7 Joe $29.94 2019-02-09
98 694.9 Bob $41.94 2020-05-27
99 330.9 Matt $5.43 2021-01-13
100 478.7 Bill $65.84 2020-09-13
101 844.2 Joe $76.24 2019-07-29
102 24.5 Bob $5.83 2018-07-30
103 185 Matt $28.04 2021-03-10
104 77.2 Bill $65.44 2020-01-13
tfoot tfoot tfoot tfoot tfoot
< < Previous Page  of Next > >
 of  rows match filter(s)

Index Numeric Text Currency Date
0 242.5 Bill $75.44 2021-02-16
1 813.3 Joe $47.64 2020-02-14
2 389.7 Bob $94.04 2021-01-25
3 593 Matt $63.54 2019-03-24
4 205 Mark $96.64 2019-05-25
5 16.8 Tom $44.54 2021-06-25
6 723.4 Jake $28.94 2020-09-22
7 73.3 Greg $31.34 2020-11-28
8 108.8 Adam $49.84 2018-08-18
9 969.1 Steve $57.54 2020-09-12
tfoot tfoot tfoot tfoot tfoot