Answers for "data table show entries"

2

jquery for table Show entries

$(document).ready(function() {
    $('#example').DataTable( {
        "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]]
    } );
} );
Posted by: Guest on April-13-2020
0

show 5 entries in datatable

var table = $('#firstTable').DataTable({
    pageLength : 5,
    lengthMenu: [[5, 10, 20, -1], [5, 10, 20, 'Todos']]
  })
Posted by: Guest on November-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language