add sppd to git repo
This commit is contained in:
37
assets/pages/jquery.datatables.init.js
Normal file
37
assets/pages/jquery.datatables.init.js
Normal file
@@ -0,0 +1,37 @@
|
||||
/**
|
||||
* Theme: Zircos Admin Template
|
||||
* Author: Coderthemes
|
||||
* Component: Datatable
|
||||
*
|
||||
*/
|
||||
var handleDataTableButtons = function() {
|
||||
"use strict";
|
||||
0 !== $("#datatable-buttons").length && $("#datatable-buttons").DataTable({
|
||||
dom: "Bfrtip",
|
||||
buttons: [{
|
||||
extend: "copy",
|
||||
className: "btn-sm"
|
||||
}, {
|
||||
extend: "csv",
|
||||
className: "btn-sm"
|
||||
}, {
|
||||
extend: "excel",
|
||||
className: "btn-sm"
|
||||
}, {
|
||||
extend: "pdf",
|
||||
className: "btn-sm"
|
||||
}, {
|
||||
extend: "print",
|
||||
className: "btn-sm"
|
||||
}],
|
||||
responsive: !0
|
||||
})
|
||||
},
|
||||
TableManageButtons = function() {
|
||||
"use strict";
|
||||
return {
|
||||
init: function() {
|
||||
handleDataTableButtons()
|
||||
}
|
||||
}
|
||||
}();
|
||||
Reference in New Issue
Block a user