This article describes how jquery can sort tables and search table content in real time. For more information, see
The Code is as follows:
First Name |
Last Name |
Email |
Phone Number |
John |
Smith |
John. s |
(613) 873-2982 |
Sean |
MacIsaac |
Seanjmacisaac |
(613) 871-6191 |
Tim |
Zarby |
Zarbytown214@hotmail.com |
(613) 743-5389 |
Andrew |
Nicolas |
Andy_money2003 |
(613) 741-3384 |
Ally |
O'Neil |
Allyoneil |
(613) 642-9831 |
To make a table searchable, add the class 'table-sort-search' to
Example:
First Name |
Last Name |
Email |
Phone Number |
John |
Smith |
John. s |
(613) 873-2982 |
Sean |
MacIsaac |
Seanjmacisaac |
(613) 871-6191 |
Tim |
Zarby |
Zarbytown214@hotmail.com |
(613) 743-5389 |
Andrew |
Nicolas |
Andy_money2003 |
(613) 741-3384 |
Ally |
O'Neil |
Allyoneil |
(613) 642-9831 |
To make the search text input show the search match count, add the class 'table-sort-show-search-count' to
Example
First Name |
Last Name |
Email |
Phone Number |
John |
Smith |
John. s |
(613) 873-2982 |
Sean |
MacIsaac |
Seanjmacisaac |
(613) 871-6191 |
Tim |
Zarby |
Zarbytown214@hotmail.com |
(613) 743-5389 |
Andrew |
Nicolas |
Andy_money2003 |
(613) 741-3384 |
Ally |
O'Neil |
Allyoneil |
(613) 642-9831 |