The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Clone the repo using Git:
shell git clone https://github.com/koalyptus/TableFilter.git
You can download this repository.
TableFilter is available on npm repository, you can install it from the command line using the following command:
shell npm install tablefilter --save-dev
or get the future features from the
shell npm install [email protected] --save-dev
Alternatively you can also access these files from unpkg CDN, download them or point your package manager to them.
// CommonJS or AMD modules var TableFilter = require('tablefilter'); ```
If you are not using a module system, you can reference the distribution scripts directly in your html pages:
distand place it at desired location in your project. Then include the main js file in your page:
Place the following snippet just under the HTML table and always define a
base_pathproperty in the configuration object to reflect the path to the script
base_pathproperty is not specified, it will default to
shell your-page.html |— tablefilter
shell npm install -g grunt-cliOnce
Gruntis sorted out you can follow the instructions below. Start by installing any dependencies.
shell npm run devcommand to launch a build / watch cycle and start the local sever on port
shell npm run buildcommand to generate a production build.
shell npm run distcommand will create a production build, run the tests and finally generate the demos:
To run all the tests and generate the coverage report:
or to run specific test(s):
grunt test-only:test.html grunt test-only:test.html,test-sort.html
to view the coverage report(s), open the
report/coveragefolder or online.
Check out the online examples or generate the demos locally:
shell npm run build:demosthen run the local webserver:
shell npm startthen pick a demo from:
Find exhaustive documentation on the configuration options in the WIKI section.
Autogenerated documentation of the ES6 modules is available on the website: docs
If you previously used the HTML Table Filter Generator plugin, verify the configuration options you are using are still supported: Obsolete
Run this task to generate the documentation in the
shell npm run esdoc