Since: Responsive 1.0.0

Enable and configure the Responsive extension for DataTables.
Please note - this property requires the Responsive extension for DataTables.


This option provides the ability to enable and configure Responsive for DataTables. In its simplest form as the boolean true it will enable Responsive with the default configuration options (as defined by DataTable.Responsive.defaults). It can also be used as an object to provide custom configuration options as described below.

Please note that as with all other configuration options for Responsive, this option is an extension to the default set of DataTables options. This property should be set in the DataTables initialisation object.




As a boolean value this property will enable Responsive on the DataTable that is being created. true will enable Responsive, while false will not (even if the table has a class of responsive or dt-responsive).

This is a short-cut option to enable Responsive with the default configuration options. Customisations can be made by giving this parameter as an object, see below.



If given as an object, Responsive will be enabled on the target DataTable, with the Responsive defaults (DataTable.Responsive.defaults) extended, and potentially overwritten, by the options provided in this object. This is how Responsive can be configured on an individual table basis, or through the defaults.


  • Value: undefined

Responsive will not be initialised by default


Enable Responsive for a table:

new DataTable('#myTable', {
	responsive: true

Enable Responsive with configuration options:

new DataTable('#myTable', {
	responsive: {
		details: false