We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I've a "little" bug with YADCF. Multiples tables init like this
var table1 = $('#table1').Datatable(); var table2 = $('#table2').Datatable(); yadcf.init(table1, ...); yadcf.init(table2, ...);
=> Everything fine :) (two tables for exemple) But, when I try to destroy the first table :
$("#table1").DataTable().destroy();
All the tables are "yadcf destroy" (Datatables is ok, the sorter is available in the second table) In the code of Yadcf, I can see that :
$('.yadcf-filter-wrapper').remove();
In the function removeFilters() I think it's the problem :) but I don't know how to solve it !
removeFilters()
table_selector_jq_friendly = yadcf.generateTableSelectorJQFriendly2(table_arg);
Somethings like this ?
The text was updated successfully, but these errors were encountered:
A little patch "home made" :
$(".yadcf-datatables-table--" + oTable.selector.replace('#', '') + ' .yadcf-filter-wrapper').remove();`
Sorry, something went wrong.
Fixed destroy for multiple tables #293
3e9081a
Fixed in 0.9.0.beta.10
No branches or pull requests
Hi,
I've a "little" bug with YADCF.
Multiples tables init like this
=> Everything fine :) (two tables for exemple)
But, when I try to destroy the first table :
All the tables are "yadcf destroy" (Datatables is ok, the sorter is available in the second table)
In the code of Yadcf, I can see that :
In the function
removeFilters()
I think it's the problem :) but I don't know how to solve it !
Somethings like this ?
The text was updated successfully, but these errors were encountered: