"Destroy" fnFilter
"Destroy" fnFilter
![MrRicharda](https://secure.gravatar.com/avatar/759612dc4af2ab422ad6b115931e8f66/?default=https%3A%2F%2Fvanillicon.com%2F759612dc4af2ab422ad6b115931e8f66_200.png&rating=g&size=120)
Hello,
I'm new in using DataTables (using version 1.9.2), but I really like it a lot and searched this forum for a solution already, but didn't really find one.
I have one column which simply contains a true or false. I also have put a botton on the site, which activates the filter, when being clicked.
The filter is set to:
oTable.fnFilter('false', 1);
This works as I expected and only the rows containing "false" are being shown.
When the user clicks the botton again, I want to deactivate the filter, so everything is visible again. I tried using fnClearTable, but the redrawing is visibly slower then the drawing that happens when I activate the filter. Is there a possiblity to just deactivate the filter again, so everything is as it was before?
I'm new in using DataTables (using version 1.9.2), but I really like it a lot and searched this forum for a solution already, but didn't really find one.
I have one column which simply contains a true or false. I also have put a botton on the site, which activates the filter, when being clicked.
The filter is set to:
oTable.fnFilter('false', 1);
This works as I expected and only the rows containing "false" are being shown.
When the user clicks the botton again, I want to deactivate the filter, so everything is visible again. I tried using fnClearTable, but the redrawing is visibly slower then the drawing that happens when I activate the filter. Is there a possiblity to just deactivate the filter again, so everything is as it was before?
This discussion has been closed.
Replies