{hero}

buttons.buttons.name

Since: Buttons 1.0.0

Set a name for each selection.
Please note - this property requires the Buttons extension for DataTables.

Example

Set a button's name:

new DataTable('#myTable', {
	layout: {
		topStart: 'buttons'
	},
	buttons: [{ extend: 'copy', name: 'copy' }]
});