{hero}

buttons

Since: DateTime 1.1.0

Container for navigation buttons.
Please note - this property requires the DateTime extension for DataTables.

Description

This property is an object that contains the navigation helper properties:

Example

Enable clear and today buttons:

new DateTime(document.getElementById('test'), {
	buttons: {
		today: true,
		clear: true
	}
});

Related

The following options are directly related and may also be useful in your application development.