Tuesday, December 11, 2018

bootstrap data table options

1. Remove Searching option fromm datatable 

  $('#example').DataTable({
                "searching": false
            });

2. Remove Pagination from datatable 

 $('#example').DataTable({
             "paging": false
                ]
            });

3. Remove filter from datatable 

 $('#example').DataTable({
            "showNEntries": false
               ]
            });

4. Remove showing entries from datatable

 $('#example').DataTable({
                "bInfo": false
                });

No comments:

Post a Comment

Featured Post

What is JavaScript? What is the role of JavaScript engine?

  The JavaScript is a Programming language that is used for converting static web pages to interactive and dynamic web pages. A JavaScript e...