I am trying to use table filter plugin from
http://ideamill.synaptrixgroup.com/?page_id=16in more than 1 places in my project ..
As per the site the plugin should be used this way --
[quote] $(’yourtable’).tableFilter([ tableOptions (Object) ]) [/quote]
But it didnt work when I tried to pass two options to it - as in
$(’yourtable’).tableFilter([ sortOnLoad = 1 , pageLength="5" ])
then I tried
$(’yourtable’).tableFilter({ sortOnLoad:1 , pageLength:"5" }) and
it worked in one place but shows error in other places ..
Error: this.cols[this.settings.sortOnLoad] is undefined
Source File:
http://localhost/......./jquery.tableFilter.jsLine: 76
what am i supposed to pass in [tableOptions (Object)])