By default, jquery datatable shows 10 by default and has
options : 10,25,50,100
How can I change these options?
According to datatables.net the proper way to do this is adding the lengthMenu property with an array of values.
$(document).ready(function() { $('#example').dataTable( { "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]] } ); } );