{hero}

select.info()

Since: Select 1.0.0

Get / set the information summary display state.
Please note - this property requires the Select extension for DataTables.

Description

By default Select will show information in the table's summary element (info) summarising how many items are displayed. This method provides the ability to dynamically enable and disable that option.

Note that the display will not be immediately updated when toggling this value - it will be updated at the next table draw which can be triggered using the draw() method.

Types

function select.info()

Description:

Get the summary information display state for the table.

Returns:

Current state - true if information summary shown, false otherwise. Note that if multiple tables are defined in the API's context, only the information state of the first table will be returned.

function select.info( flag )

Description:

Set the information summary display state for the table's selection options.

Parameters:
Returns:

DataTables API instance for chaining.

Example

Disable the information summary display using the API:

var table = new DataTable('#myTable');

table.select.info(false);

Related

The following options are directly related and may also be useful in your application development.