Commit a9899543 by aa.gusti

perbaikan detable pageLength

1 parent 6fc4a69f
...@@ -51,14 +51,15 @@ ...@@ -51,14 +51,15 @@
<!-- widget-body --> <!-- widget-body -->
</div> </div>
</header> </header>
<style> <style>
.fa-minus-square { .fa-minus-square {
color: red; color: red;
} }
.fa-check-square {
color: forestgreen; .fa-check-square {
} color: forestgreen;
</style> }
</style>
<script type="text/javascript"> <script type="text/javascript">
var m${tableid}ID; var m${tableid}ID;
var o${tableid}; var o${tableid};
...@@ -71,13 +72,13 @@ ...@@ -71,13 +72,13 @@
function displayEmptyID() { function displayEmptyID() {
$("#emptyID").show(); $("#emptyID").show();
$('#emptyID').animate({ opacity: 0.8 }, 2000); $('#emptyID').animate({opacity: 0.8}, 2000);
setTimeout(function () { setTimeout(function () {
$("#emptyID").fadeTo(500, 0).slideUp(500, function () { $("#emptyID").fadeTo(500, 0).slideUp(500, function () {
$("#emptyID").hide(); $("#emptyID").hide();
}); });
} }
, 4000); , 4000);
} }
let tb_array = [ let tb_array = [
...@@ -182,6 +183,7 @@ ...@@ -182,6 +183,7 @@
[10, 25, 50, 100], [10, 25, 50, 100],
[10, 25, 50, 100] [10, 25, 50, 100]
], ],
"pageLength": 25,
columns: ${tableid}Columns, columns: ${tableid}Columns,
"language": ${tableid}Language, "language": ${tableid}Language,
...@@ -212,4 +214,4 @@ ...@@ -212,4 +214,4 @@
${structure:btnscripts} ${structure:btnscripts}
}); });
</script> </script>
</div> </div>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!