Clear search while reloading site
Clear search while reloading site
How do I have the search field cleaned when I reload the site? Why does it already open filtering if I give a reload?
This discussion has been closed.
How do I have the search field cleaned when I reload the site? Why does it already open filtering if I give a reload?
Answers
What type of reload?
If
ajax.reload()then you can usesearch()to clear the search, for example:table.search('');If you are referring to using stateSave and reloading the page then you can use the example in the
stateSaveParamsdocs.Kevin