spring-mvcdatatablesspring-roogvnixgvnix-es

clear GVnix datatables filter


whit gvnix-2.0.0.M1

the filter (automatic input generated) for search in table persist value after submit or close or reload page

I need clear this

example for filter


Solution

  • Datatables componentes stores that values using the localStorage feature provided your browser.

    Use the localStorage.clear() javascript function to clear the values of your component.

    Read more about the localStorage here:

    https://www.w3schools.com/html/html5_webstorage.asp

    Hope it helps,