ClearAll button in searchpanes deletes only one filter for the first time
ClearAll button in searchpanes deletes only one filter for the first time
Link to test case: https://datatables.net/extensions/searchpanes/examples/initialisation/cascadePanes.html
Debugger code (debug.datatables.net):
Error messages shown: No error messages
Description of problem: In the above example if we select multiple filters and click on ClearAll button it is removing only one filter for the first click and if we click it again then all the remaining filters are being removed. Is this normal behavior? My requirement is to remove all the search pane filters with one click of the Clear All button.
I have even tried using searchPanes.clearSelections(). But even that is behaving like Clear All buton.
This question has an accepted answers - jump to answer
Answers
Adding a test case
http://live.datatables.net/jiyigamu/3/edit
This issue happens only when I set CascadePanes to true.
Any help is appreciated.
Hi @sridhar5 ,
Thanks for pointing that out - something isn't right there. I've raised an issue internally (DD-2033 for my reference) and will report back here when there is an update.
Thanks,
Sandy
Hi @sridhar5 ,
That should be the issue fixed now. This will be available in the next SearchPanes release which we hope will be in the next few weeks. Until then you can access the fix from the nightly builds.
Thanks,
Sandy
Hi @sandy
Thanks for quick follow up. The issue is fixed now.