JQuery dataTable plugin - remove search box, information bar and pagination length drop down

By yash → Monday, July 4, 2016
Sometimes it is not necessary to show extra features or functionality of dataTable which are available.
By default search box information bar and pagination length are shown with dataTable. We can remove/hide these elements from dataTable at the time of initializing.

jQuery
$(document).ready(function() {
    $('#dataTable').DataTable( {      
        "searching": false,
         "paging": true, 
         "info": false,         
         "lengthChange":false 
    } );
} );

Preview

Download Souce


   
Yashwant Patel

No Comment to " JQuery dataTable plugin - remove search box, information bar and pagination length drop down "