{hero}

select.info

Since: Select 1.0.0

Enable / disable the display for item selection information in the table summary.
Please note - this property requires the Select extension for DataTables.

Description

Select has the ability to show the end user summary information about the items they have selected in a table - the number of rows for example. This option can be used to enable / disable that action.

When enabled and information is shown the following markup is added to the table's information element:

<span class="select-info">
    <span class="select-item"/>{rows}</span>
    <span class="select-item"/>{columns}</span>
    <span class="select-item"/>{cells}</span>
</span>

where {rows}, {columns} and {cells} represents the information to be shown for each item. If there is no information to be shown the element is not included. If there is no information for any of the items, the wrapper element (select-info) is not added to the document.

Type

boolean

Description:

Enable (true) the display of selected item information in the table summary, or not (false).

Default

  • Value: true

Example

Disable selection summary information:

new DataTable('#myTable', {
	select: {
		info: false
	}
});