Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82443

how to set default class for buttons ?

$
0
0

Hi,
I use my own color scheme so I need to css the datatable also. Since I use multiple instances of datatables, I want to set it for all in one js file.
Therefore I created a [name]-defaults.js with the code:

$.extend( $.fn.dataTable.defaults, {
responsive: true,
// other settings...
language: {
....
language settings
......
}
} );

but could not find a way to use buttons className: 'my-customs-class'

Sugestions?


Viewing all articles
Browse latest Browse all 82443

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>