Wednesday, September 11, 2013

How to add jQuery table filter?

You can filter a table rows dynamically using jQuery Plugin table filter. The plugin will insert a input form for filtering table rows dynamically.

Demo

Usage:
Download jQuery plugin:
jquery.table-filter.js
Insert to all table:
$("table").addTableFilter();
Insert to "#table1" only:
$("#table1").addTableFilter();
Insert with custom label text and size:
$("table").addTableFilter({
  labelText: "Filtering Words: ",
  size:      48
});
Source: https://github.com/hail2u/jquery.table-filter

No comments:

Post a Comment