DataTables example
ConditionalPageLength feature plugin
Shows or hides the page length control depending on the amount of data in the table.