A jQuery table filter
2016-08-23
0 0 0
no vote
Other
Earn points
A jQuery plugin to create table filters, it will automaticly create textinputs and selects (filled with unique values from the column).
A few examples:
$('table th').tablefilter();
Creates a simple table filter with text-inputs on all th elements of the column
$('table th.filterText').tablefilter({ type : 'text'});
Creates a text-inputs only filter on all th elements with the class "filterText" of the column
$('table th.filterSelect').tablefilter({ type : 'select' });
Creates a select only filter on all th elements with the class "filterSelect" of the column. The select element will be filled with all unique items in the column.
Combine the last 2 to combine a filter interface with both text-fields and select elements.
Notes
- It is advised to use thead and tbody tags! (code is not tested without these)
- Currently the filtering only works on one tabl
jquery
plugin
table
filter
Related Source Codes
layui_ eachers
0
0
no vote
xray_ filters
0
0
no vote
Realization of IIR low pass filter with MATLAB
0
0
no vote
Digital filter
0
0
no vote
JQuery cool hot location plug-in
0
0
no vote
No comment