div container node for the table in the API's context.
DataTables places the main table and all of the various component display controls for the table inside a container element, a
div element with a class of
dataTables_wrapper (by default).
This method, and its plural counterpart, provide the ability to obtain that container node, which can be used by plug-in authors to add additional controls to the table.
Add a class to a single table container node:
var table = $('#example').DataTable(); $( table.table().container() ) .addClass( 'selectable' );
The following options are directly related and may also be useful in your application development.