You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

42 lines
1.4 KiB

/*!
Bootstrap integration for DataTables' Buttons
©2016 SpryMedia Ltd - datatables.net/license
*/
(function (c) {
"function" === typeof define && define.amd ? define(["jquery", "datatables.net-bs", "datatables.net-buttons"], function (a) {
return c(a, window, document)
}) : "object" === typeof exports ? module.exports = function (a, b) {
a || (a = window);
if (!b || !b.fn.dataTable) b = require("datatables.net-bs")(a, b).$;
b.fn.dataTable.Buttons || require("datatables.net-buttons")(a, b);
return c(b, a, a.document)
} : c(jQuery, window, document)
})(function (c) {
var a = c.fn.dataTable;
c.extend(!0, a.Buttons.defaults, {
dom: {
container: {
className: "dt-buttons btn-group"
},
button: {
className: "btn btn-default"
},
collection: {
tag: "ul",
className: "dt-button-collection dropdown-menu",
button: {
tag: "li",
className: "dt-button"
},
buttonLiner: {
tag: "a",
className: ""
}
}
}
});
a.ext.buttons.collection.text = function (a) {
return a.i18n("buttons.collection", 'Collection <span class="caret"/>')
};
return a.Buttons
});