Examples
Browse the following examples to see TableFilter
in action.
This library takes HTML tables to a whole new level :)
Basic
Features
Auto filter, filter as you type behaviour
Custom column filtering
Custom filter options
Data types, column operations
Deep linking
Grid layout
Grouped headers
Linked filters
Linked filters with greyed-out options
Load filters on demand
Paging
Persistence
Pop-up filters
Single filter, exclude columns
Usage
Global
Import the main js file in your page, from desired location or for example from the default NPM location if you downloaded the package from NPM:
<script src="node_modules/tablefilter/dist/tablefilter/tablefilter.js"></script>
This will expose the TableFilter
global function as shown in
example below.
See the Pen TableFilter starter by Max (@koalyptus) on CodePen.
Module
TableFilter
can also be imported as a module and used in those
projects following a module pattern as AMD or CommonJS: