date sorting
This commit is contained in:
parent
189e998344
commit
8e383cf626
@ -110,8 +110,11 @@
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": false
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
@ -78,10 +78,13 @@
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":9, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
<style>
|
||||
.pagination {
|
||||
margin:0px !important;
|
||||
@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
||||
<table id="dataTableHistoriek" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
||||
<thead>
|
||||
<tr style="background-color:#ddf">
|
||||
<th>#</th>
|
||||
@ -102,16 +102,19 @@
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<script>
|
||||
$(function () {
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
$(function () {
|
||||
|
||||
$('#example1').DataTable({
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": false
|
||||
});
|
||||
$('#dataTableHistoriek').DataTable({
|
||||
"paging" : true,
|
||||
"ordering" : true,
|
||||
"scrollCollapse" : true,
|
||||
"searching" : true,
|
||||
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||
"bInfo": true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@ -393,9 +393,13 @@ $(function () {
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -81,6 +81,8 @@
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":7, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
@ -88,3 +90,5 @@
|
||||
});
|
||||
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -79,6 +79,8 @@
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
@ -86,3 +88,5 @@
|
||||
});
|
||||
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -437,6 +437,8 @@ $(function () {
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"columnDefs" : [{"targets":4, "type":"date-eu"}],
|
||||
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
@ -445,4 +447,6 @@ $(function () {
|
||||
});
|
||||
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
|
||||
@ -98,8 +98,11 @@
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":1, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": false
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
@ -92,9 +92,13 @@ $(function () {
|
||||
"searching": true,
|
||||
"aaSorting": [[ 0, "desc" ]],
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":1, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -106,6 +106,8 @@
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
|
||||
@ -113,6 +115,8 @@
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": false
|
||||
|
||||
@ -382,9 +382,13 @@ $(function () {
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":5, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -383,6 +383,8 @@ $(function () {
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":6, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
//"data-sort-name":Status
|
||||
@ -390,3 +392,5 @@ $(function () {
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -126,7 +126,8 @@
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
|
||||
@ -134,6 +135,8 @@
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||
|
||||
"ordering": true,
|
||||
"aaSorting": [[ 0, "asc" ]],
|
||||
"info": true,
|
||||
|
||||
@ -106,6 +106,8 @@
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||
|
||||
"aaSorting": [[ 0, "asc" ]],
|
||||
"info": true,
|
||||
"autoWidth": true,
|
||||
@ -115,3 +117,5 @@
|
||||
});
|
||||
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -381,6 +381,8 @@ $(function () {
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||
|
||||
"aaSorting": [[ 0, "desc" ]],
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
@ -389,3 +391,4 @@ $(function () {
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
@ -132,6 +132,7 @@ span.highlight {
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
|
||||
@ -140,6 +141,8 @@ span.highlight {
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":7, "type":"date-eu"}],
|
||||
|
||||
"aaSorting": [[ 0, "desc" ]],
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
@ -100,6 +100,8 @@
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||
|
||||
"aaSorting": [[ 0, "asc" ]],
|
||||
"info": true,
|
||||
"autoWidth": true,
|
||||
@ -109,3 +111,5 @@
|
||||
});
|
||||
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -163,8 +163,11 @@ $Adv='';
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":13, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": false
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
@ -151,9 +151,13 @@ $ReqDate = $dt->format('d-m-Y'); echo $ReqDate ?>
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":5, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -391,6 +391,8 @@ function(start, end, label) {
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
@ -398,3 +400,5 @@ function(start, end, label) {
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
@ -582,6 +582,7 @@ function validate()
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":6, "type":"date-eu"}],
|
||||
"info": true,
|
||||
"autoWidth": false
|
||||
});
|
||||
@ -590,12 +591,19 @@ function validate()
|
||||
"lengthChange": false,
|
||||
"searching": false,
|
||||
"ordering": false,
|
||||
// "columnDefs" : [{"targets":6, "type":"date-eu"}],
|
||||
|
||||
"info": false,
|
||||
"autoWidth": false
|
||||
});
|
||||
});
|
||||
|
||||
</script><script type="text/javascript">
|
||||
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#MaterialCode").select2();
|
||||
//$("#StockAvail").select2();
|
||||
|
||||
@ -209,12 +209,16 @@
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"columnDefs" : [{"targets":5, "type":"date-eu"}],
|
||||
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||
|
||||
<script>
|
||||
$("#Igrshow").on("shown.bs.modal", function(e) {
|
||||
var igr = $(e.relatedTarget).data('userid');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user