Skip to content

Bootstrap does not have a component that allows filtering. However, we can use jQuery to filter / search for elements.

Notifications You must be signed in to change notification settings

aimeeaidanu/Filterable-Table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Filterable-Table

We use jQuery to loop through each table rows to check if there are any text values that matches the value of the input field. The toggle method hides the row (display:none) that does not match the search. We use the toLowerCase() method to convert the text to lower case, which makes the search case insensitive (allows "homer", "Homer", and even "HOMER" on search).

About

Bootstrap does not have a component that allows filtering. However, we can use jQuery to filter / search for elements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages