Backgrid advanced filter
An advanced filter plugin for Backgrid. Online demo
Example usage
Initialization
// Create advanced filter instance var advancedFilter = collection: dataCollection /* Filterable columns need an additional attribute 'filterType'. e.g.: filterType: 'string'; (Supported: string, number, boolean, percent) */ columns: columnCollection /* optional */ filters: filterCollection ; // Render the filter ; // Available events advancedFilter; advancedFilter; advancedFilter; advancedFilter; advancedFilter; advancedFilter;
Filtering
advancedFilter;
Dependencies
Contributing / development
- Fork this repository
- Checkout locally using git
- Run
npm install
- Run
gulp
to watch for changes and build + test the library - Edit files in
/src
+ add/adjust tests - Make sure lint and tests pass
- Commit to your fork and create a PR (Pull request) with the changes
Authors
This project is developed and maintained by Wilbert van de Ridder and sponsored by Solodev.