Setting Responsive default options generically.

Setting Responsive default options generically.

tangerinetangerine Posts: 3,365Questions: 39Answers: 395

I don't understand this part of the documentation:

Responsive can also be set to initialise by default, as shown in this example through the $.fn.dataTable.defaults.responsive property. Extending that, all of the Responsive options can also be set using this configuration option (i.e. use responsive as an object).
(https://datatables.net/extensions/responsive/examples/initialisation/default)

I have "responsive: true" in my $.fn.dataTable.defaults file, but can't figure out how to add Responsive options to be used by default. Does anyone have an example?

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.