How to Set Amount of Rows that DataTable Displays

DataTables.js Is a Great JS Table Plugin. Display more than the default rows with this simple plugin option.

This is a snippet that determines the amount of records that will be outputed in the datatable.js plugin. Great plugin to make your html tables nice. 

$(document).ready( function () {
  var table = $('#example').DataTable( {
    pageLength : 5,
  } )
} );

Just change the pageLenght to whatever number you want to filter