¿Can i set buttons options by default?

¿Can i set buttons options by default?

mash180mash180 Posts: 3Questions: 2Answers: 0
edited October 2015 in Free community support

I would like to use the same buttons option on all my datatables, is posible to set this via $.fn.dataTable.defaults?

$.extend( $.fn.dataTable.defaults, {
    deferRender: true,
    processing: true,
        serverSide: true,
    iDisplayLength: 50,
    orderMulti: false,
    buttons: ['copy','print']
})

Answers

This discussion has been closed.