{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 even moving it in the document.

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 = new DataTable('#myTable', {
	layout: {
		top1: 'searchBuilder'
	}
});

dt.searchBuilder.container().addClass('sb_class');