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

27 lines
592 B
JavaScript

(function($, DataTables){
$.extend( true, DataTables.Buttons.defaults, {
dom: {
container: {
className: 'dt-buttons ui-buttonset'
},
button: {
className: 'dt-button ui-button ui-state-default ui-button-text-only',
disabled: 'ui-state-disabled',
active: 'ui-state-active'
},
buttonLiner: {
tag: 'span',
className: 'ui-button-text'
}
}
} );
DataTables.ext.buttons.collection.text = function ( dt ) {
return dt.i18n('buttons.collection', 'Collection <span class="ui-button-icon-primary ui-icon ui-icon-triangle-1-s"/>');
};
})(jQuery, jQuery.fn.dataTable);