Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Bootstrap and X-editable themed jQuery plugin for per-column filtering of HTML tables.
Filterable is an unsupported jQuery plugin that adds per-column filtering to HTML tables, themed with Bootstrap and X-editable. It turns a standard HTML table into a filterable grid where each column header becomes an inline filter input, and the source is freely available on GitHub with a live demo.
Filterable is a client-side jQuery plugin that makes each column header of an HTML table an inline filter control. It takes a standard HTML table as input and outputs a table whose rows are filtered in real time as the user types into the header fields. The plugin depends on Bootstrap (version 2.3.2 in the documented usage) and X-editable, and optionally uses Font Awesome icons to replace the default Bootstrap icons. It was authored by lightswitch05 and published on GitHub. The project is marked UNSUPPORTED by its author, who notes that it is out of date and especially so when Bootstrap 4 leaves beta; pull requests are welcomed for anyone who wants to update it.
Include the required CSS and JavaScript for Bootstrap and X-editable from the documented CDN links, then select the table and call the plugin with $('#exampleTable').filterable();. Options are passed as a hash, for example {ignoreCase: false} makes filtering case-sensitive. The plugin attaches an X-editable field to each header and re-filters the rows whenever the filter value changes.
