mirror of https://github.com/ColorlibHQ/AdminLTE
enhanced DataTables demo with responsive plugin
parent
09b89135c7
commit
6934469b38
|
@ -12,7 +12,8 @@
|
|||
<!-- Ionicons -->
|
||||
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
||||
<!-- DataTables -->
|
||||
<link rel="stylesheet" href="../../plugins/datatables-bs4/css/dataTables.bootstrap4.css">
|
||||
<link rel="stylesheet" href="../../plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="../../plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
|
||||
<!-- Theme style -->
|
||||
<link rel="stylesheet" href="../../dist/css/adminlte.min.css">
|
||||
<!-- Google Font: Source Sans Pro -->
|
||||
|
@ -1633,8 +1634,10 @@
|
|||
<!-- Bootstrap 4 -->
|
||||
<script src="../../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
<!-- DataTables -->
|
||||
<script src="../../plugins/datatables/jquery.dataTables.js"></script>
|
||||
<script src="../../plugins/datatables-bs4/js/dataTables.bootstrap4.js"></script>
|
||||
<script src="../../plugins/datatables/jquery.dataTables.min.js"></script>
|
||||
<script src="../../plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
|
||||
<script src="../../plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
|
||||
<script src="../../plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="../../dist/js/adminlte.min.js"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
|
@ -1642,7 +1645,10 @@
|
|||
<!-- page script -->
|
||||
<script>
|
||||
$(function () {
|
||||
$("#example1").DataTable();
|
||||
$("#example1").DataTable({
|
||||
"responsive": true,
|
||||
"autoWidth": false,
|
||||
});
|
||||
$('#example2').DataTable({
|
||||
"paging": true,
|
||||
"lengthChange": false,
|
||||
|
@ -1650,6 +1656,7 @@
|
|||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": false,
|
||||
"responsive": true,
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue