buttons().processing()

Since: Buttons 1.3.0

Set the processing state for multiple buttons. Please note - this property requires the Buttons extension for DataTables.

Description

This is an extension of the buttons().processing() method, which can be used to set the processing state for multiple buttons with a single API call. Care should be taken with this method since it could easily lead to end user confusion if multiple buttons are shown in the processing state at the same time.

Type

function buttons().processing( set )

Description:

Set the processing state for the selected buttons.

Parameters:
Returns:

DataTables API instance with the selected buttons in the result set, available for chaining further operations on the buttons.

Example

Set all buttons to show as processing:

var table = $('#myTable').DataTable();
table.buttons().processing( true );