Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $('table').filterTable(); //if this code appears after your tables; otherwise, i
| `containerTag` | string | p | Tag name of the main filter input container |
| `hideTFootOnFilter` | boolean | false | Controls whether the table's tfoot(s) will be hidden when the table is filtered |
| `highlightClass` | string | alt | Class applied to cells containing the filter term |
| `inputSelector` | string | _null_ | Use this selector to find the filter input instead of creating a new one (only works if selector returns a single element) |
| `filterSelector` | string | _null_ | Use this selector to find the filter input instead of creating a new one (only works if selector returns a single element) |
| `inputName` | string | filter-table | Name attribute of the filter input field |
| `inputType` | string | search | Tag name of the filter input itself |
| `label` | string | Filter: | Text to precede the filter input |
Expand Down
2 changes: 1 addition & 1 deletion jquery.filtertable.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
containerTag: 'p', // tag name of the container
hideTFootOnFilter: false, // if true, the table's tfoot(s) will be hidden when the table is filtered
highlightClass: 'alt', // class applied to cells containing the filter term
inputSelector: null, // use the element with this selector for the filter input field instead of creating one
filterSelector: null, // use the element with this selector for the filter input field instead of creating one
inputName: '', // name of filter input field
inputType: 'search', // tag name of the filter input tag
label: 'Filter:', // text to precede the filter input tag
Expand Down
2 changes: 1 addition & 1 deletion jquery.filtertable.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.