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: 15,142Questions: 1Answers: 2,586

    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.