sagacity/script/datatables/Buttons-1.0.3/js/buttons.foundation.js
2018-05-07 10:51:08 -04:00

35 lines
571 B
JavaScript

(function($, DataTables){
$.extend( true, DataTables.Buttons.defaults, {
dom: {
container: {
tag: 'ul',
className: 'dt-buttons button-group'
},
buttonContainer: {
tag: 'li',
className: ''
},
button: {
tag: 'a',
className: 'button small'
},
buttonLiner: {
tag: null
},
collection: {
tag: 'ul',
className: 'dt-button-collection f-dropdown open',
button: {
tag: 'a',
className: 'small'
}
}
}
} );
DataTables.ext.buttons.collection.className = 'buttons-collection dropdown';
})(jQuery, jQuery.fn.dataTable);