Set the processing state for multiple buttons. Please note - this property requires the Buttons extension for DataTables.
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.
function buttons().processing( set )
Set the processing state for the selected buttons.
Name Type Optional 1
Flag to indicate if the processing state should be enabled (
true) or disabled (
DataTables API instance with the selected buttons in the result set, available for chaining further operations on the buttons.
Set all buttons to show as processing:
var table = $('#myTable').DataTable(); table.buttons().processing( true );