BSBMaterial added
This commit is contained in:
14
app/assets/javascripts/BSBMaterial/pages/tables/jquery-datatable.js
vendored
Normal file
14
app/assets/javascripts/BSBMaterial/pages/tables/jquery-datatable.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
$(function () {
|
||||
$('.js-basic-example').DataTable({
|
||||
responsive: true
|
||||
});
|
||||
|
||||
//Exportable table
|
||||
$('.js-exportable').DataTable({
|
||||
dom: 'Bfrtip',
|
||||
responsive: true,
|
||||
buttons: [
|
||||
'copy', 'csv', 'excel', 'pdf', 'print'
|
||||
]
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user