Filter only visible datatables in fnFilterAll
Filter only visible datatables in fnFilterAll
raj_inevitable
Posts: 1Questions: 0Answers: 0
Hi guy's first of all great work thanks for this...
In my web page am using more data tables in a page with tabs, I Want search one search for all data tables in page... So i used fnFilter all api... its reloved my problem, but.. when i am search it searches all tables in all tabs.. i need to search only visible tables on a page (current tab).. eg: i have 3 tables in each tab.. all are having same class for data table. and also each tab tables contains another class by tab name..
if am using [code] oTable.fnFilterAll(this.value); [/code]
it searches all tables in all tabs...
using this [code] var tables = $.fn.dataTable.fnTables(true); [/code] i can get the tables i want.. that means currently visible tables. but i don't know how to use this results in fnFilterAll method
help me to resolve this...
thanks
In my web page am using more data tables in a page with tabs, I Want search one search for all data tables in page... So i used fnFilter all api... its reloved my problem, but.. when i am search it searches all tables in all tabs.. i need to search only visible tables on a page (current tab).. eg: i have 3 tables in each tab.. all are having same class for data table. and also each tab tables contains another class by tab name..
if am using [code] oTable.fnFilterAll(this.value); [/code]
it searches all tables in all tabs...
using this [code] var tables = $.fn.dataTable.fnTables(true); [/code] i can get the tables i want.. that means currently visible tables. but i don't know how to use this results in fnFilterAll method
help me to resolve this...
thanks
This discussion has been closed.