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,177Questions: 1Answers: 2,590

    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.