mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-16 12:45:49 +02:00
Edited readme
This commit is contained in:
parent
b7a08a12dc
commit
688077b89b
13
README.md
13
README.md
|
@ -7,6 +7,8 @@ This script adds to any html table a "filter by column" feature that enables
|
||||||
users to filter and limit the data displayed within a long table. The script
|
users to filter and limit the data displayed within a long table. The script
|
||||||
automatically adds a filter grid bar at the top of the desired table.
|
automatically adds a filter grid bar at the top of the desired table.
|
||||||
|
|
||||||
|
TableFilter is based on the HTML Table Filter generator script, it is a modernized version of it.
|
||||||
|
|
||||||
##Features
|
##Features
|
||||||
* Convert a regular HTML table into an advanced grid component providing:
|
* Convert a regular HTML table into an advanced grid component providing:
|
||||||
* Advanced columns filtering model
|
* Advanced columns filtering model
|
||||||
|
@ -24,9 +26,16 @@ solution
|
||||||
* Valuable support provided under a Premium request
|
* Valuable support provided under a Premium request
|
||||||
|
|
||||||
##Setup
|
##Setup
|
||||||
Include the bundled js file in your page:
|
Copy the ``tablefilter`` directory under ``dist`` and place it at desired location in your project. Then include the bundle js file in your page:
|
||||||
```shell
|
```shell
|
||||||
<script src="tablefilter/tablefilter.js"></script>
|
<script src="``path/to/my/scripts``/tablefilter/tablefilter.js"></script>
|
||||||
|
```
|
||||||
|
Place the following snippet just under the HTML table
|
||||||
|
```shell
|
||||||
|
<script>
|
||||||
|
var tf = new TableFilter('my-table-id');
|
||||||
|
tf.init();
|
||||||
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
##Development
|
##Development
|
||||||
|
|
8
dist/tablefilter/1-671c99050af173051c24.js
vendored
Normal file
8
dist/tablefilter/1-671c99050af173051c24.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2240
dist/tablefilter/1-d59e614953f2afdbdeca.js
vendored
2240
dist/tablefilter/1-d59e614953f2afdbdeca.js
vendored
File diff suppressed because one or more lines are too long
7254
dist/tablefilter/tablefilter.js
vendored
7254
dist/tablefilter/tablefilter.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue