-
Notifications
You must be signed in to change notification settings - Fork 92
2.0 TableFilter class
koalyptus edited this page Apr 11, 2017
·
5 revisions
| Parameter | Type | Description | Remarks | Example |
|---|---|---|---|---|
| table | DOMElement | A table DOM element |
Use `table` or `id` parameter | var myTF = new TableFilter(document.querySelector(".my-table")); |
| id | string | id of the table element |
Use `table` or `id` parameter | var myTF = new TableFilter("myTableId"); |
| refRow | number | index of the 'reference' row used as starting point for the filtering process | optional parameter | var myTF = new TableFilter("myTableId", 2); |
| config | object | configuration object | optional parameter | var myTF = new TableFilter("myTableId", 2, { paging:true }); |