Develop
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<link rel="stylesheet" href="/AdminLTE-3.2.0/plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="/AdminLTE-3.2.0/plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="/AdminLTE-3.2.0/plugins/datatables-buttons/css/buttons.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="/AdminLTE-3.2.0/plugins/datatables-fixedcolumns/css/fixedColumns.bootstrap4.min.css">
|
||||
@endsection
|
||||
|
||||
@section('card_header')
|
||||
@@ -38,7 +39,7 @@
|
||||
<input class="form-control form-control-sm" type="text" id="src">
|
||||
</div>
|
||||
</form>
|
||||
<table id="dtTableSKPP" class="table table-striped jambo_table tblClickRow nowrap" style="width: 100%;">
|
||||
<table id="dtTableSKPP" class="table table-striped jambo_table tblClickRow" style="width:150%">
|
||||
<thead>
|
||||
<tr class="headings">
|
||||
<th>No</th>
|
||||
@@ -74,6 +75,8 @@
|
||||
<script src="/AdminLTE-3.2.0/plugins/datatables-buttons/js/buttons.html5.min.js"></script>
|
||||
<script src="/AdminLTE-3.2.0/plugins/datatables-buttons/js/buttons.print.min.js"></script>
|
||||
<script src="/AdminLTE-3.2.0/plugins/datatables-buttons/js/buttons.colVis.min.js"></script>
|
||||
<script src="/AdminLTE-3.2.0/plugins/datatables-fixedcolumns/js/dataTables.fixedColumns.min.js"></script>
|
||||
<script src="/AdminLTE-3.2.0/plugins/datatables-fixedcolumns/js/fixedColumns.bootstrap4.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
var srcDate1 = null, srcDate2 = null;
|
||||
@@ -97,6 +100,7 @@
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ordering": false,
|
||||
"autoWidth": false,
|
||||
"ajax": {
|
||||
url: "/jadwal-salurdana/datatable",
|
||||
type: "POST",
|
||||
@@ -109,7 +113,7 @@
|
||||
}
|
||||
},
|
||||
"columnDefs": [
|
||||
{ className: "td-nowrap", "targets": [ 1 ] }
|
||||
//{ className: "td-nowrap", "targets": [ 1 ] }
|
||||
],
|
||||
"dom": "<\"top\" <\"row\"<\"col-md-6\"><\"col-md-6 text-right\">>>rt<\"bottom\" <\"row\"<\"col-md-6\"i><\"col-md-6\"p>> ><\"clear\">",
|
||||
"lengthMenu": [
|
||||
@@ -118,8 +122,8 @@
|
||||
],
|
||||
"paging": true, // Table pagination
|
||||
"columns": [
|
||||
{ "data": null,"width":50 },
|
||||
{ "data": "kode_rekening","width":200 },
|
||||
{ "data": null},
|
||||
{ "data": "kode_rekening", "width": "400px" },
|
||||
{ "data": "spsbulan1", "className":"text-right" },
|
||||
{ "data": "spsbulan2", "className":"text-right" },
|
||||
{ "data": "spsbulan3", "className":"text-right" },
|
||||
@@ -164,9 +168,9 @@
|
||||
"next": "Selanjutnya >",
|
||||
}
|
||||
},
|
||||
// "scrollX": true,
|
||||
"initComplete": function (settings, json) {
|
||||
$("#dtTableSKPP").wrap("<div style='overflow:auto; width:100%;position:relative;'></div>");
|
||||
scrollX:true,
|
||||
fixedColumns: {
|
||||
left: 2,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user