{hero}

searchBuilder.container()

Since: SearchBuilder 1.0.0

Returns the node of the SearchBuilder container.
Please note - this property requires the SearchBuilder extension for DataTables.

Description

This method provides the ability to return the node of the container that is storing SearchBuilder. This allows the user to manipulate it by adding classes or moving it around the dom.

This method does not take any arguments, it is simply a getter for the container.

Type

function searchBuilder.container()

Description:

Returns the node of the SearchBuilder container.

Returns:

jQuery instance that contains the container element for the SearchBuilder.

Example

Add a class to the SearchBuilder container::

var dt = $('#example').DataTable( {
        dom: 'Qfrtip'
    });
	dt.searchBuilder.container().addClass('sb_class');