System Documentation
    Preparing search index...
    • This function destroys the DataTable with id 'dataTableGenerated' and removes it from the DOM.

      Returns void

      This function first grabs the DataTable by its id 'dataTableGenerated', destroys it using DataTables' .destroy() method. Thereafter the state is cleared by running table.state.clear(). Then it removes the wrapper of the DataTable, and finally removes the DataTable itself from the DOM.