Trigger the action of the selected buttons.
Please note - this property requires the Buttons extension for DataTables.
This method can be used to programmatically trigger the actions of the selected buttons. Typically a button's action will be triggered by an end user interaction (clicking, keyboard navigation), but it can be useful to trigger the action from code - for example to periodically update the data contained in a DataTable.
Please note that some buttons types might not be able to be triggered programmatically.
Programmatically trigger the action of the selected buttons. They will be triggered in the selected order.
DataTables API instance with the selected buttons in the result set, available for chaining further operations on the buttons.
Trigger all buttons with the class 'update':
var table = $('#myTable').DataTable(); table.buttons( '.update' ).trigger();