DataTables has the capability to enable or disable a number of its features, such as paging or searching. To choose these options, simply select them in your initialization:
$(document).ready(function() {
$('#tableid').DataTable( {
"paging": false, //Turn off paging, all records on one page
"ordering": false, //Turn off ordering of records
"info": false //Turn off table information
} );
} );
Note that the quotation marks around the option names are optional:
paging: false,
ordering: false,
info: false
Is also perfectly valid.
A full list of options can be found here, along with descriptions of the uses of each option.
These options can only be set once, when the table is initialised. However, you can work around this limitation by adding:
destroy: true