{hero}

buttons.name

Since: Buttons 1.0.0

Set a name for the instance for the group selector.
Please note - this property requires the Buttons extension for DataTables.

Example

Setting the name in the DataTables buttons option:

new DataTable('#myTable', {
	layout: {
		topStart: 'buttons'
	},
	buttons: {
		name: 'primary',
		buttons: [
			// ...
		]
	}
});