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?

Answers

  • colincolin Posts: 14,452Questions: 1Answers: 2,462

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

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

    Colin

Sign In or Register to comment.