Skip to content

Commit

Permalink
feat: ✨ added page length All on datatable component
Browse files Browse the repository at this point in the history
  • Loading branch information
mrizkimaulidan committed Dec 25, 2024
1 parent 4658983 commit 8f90f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/datatable/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<script>
$(document).ready(function() {
new DataTable('#datatable', {
lengthMenu: [5, 10, 15],
lengthMenu: [5, 10, 15, {label: "All", value: -1}],
language: {
url: "https://cdn.datatables.net/plug-ins/2.0.6/i18n/id.json",
},
Expand Down

0 comments on commit 8f90f64

Please sign in to comment.