Deleting state across the web

Deleting state across the web

filipfranekfilipfranek Posts: 1Questions: 1Answers: 0

I use few dataTables on one web. Is it easy to clear the state of all tables?


  • colincolin Posts: 15,208Questions: 1Answers: 2,592

    Yep, you can just use DataTable.tables() to get all the tables, so something like:

    DataTable.tables({api: true}).state.clear();


Sign In or Register to comment.