Skip to content

yaslama/simple-table-filter

 
 

Repository files navigation

TITLE

jQuery Plugin: Table Filter - version 0.2

DESCRIPTION

Insert a input form for filtering table rows dinamically.

Usage

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
});

Styling

You can style inserted elements like this:

.formTableFilter {
  text-align: right;
}

.formTableFilter label {
  font-weight: bold;
}

.formTableFilter input {
  border: 1px solod #999999;
  width: 12em;
  color: #ffffff;
  background-color: #333333;
}

LICENSE

MIT: http://hail2u.mit-license.org/2009

About

jQuery Plugin: Table Filter: Insert a input form for filtering table rows dinamically.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%