shanthi_karthika shanthi_karthika - 7 months ago 81
jQuery Question

how to disable show entries property in jquery datatable

I have just started working with jquery. I used jquery data-table plugin for enabling table-view. Iam in need to disable show entries property. Can anyone help me in which js i need to disable the property?

I had followed this link but doesn't help. I don't know which js has to be modified.

Thanks in Advance


This had worked for me. Use the code in your html you have built

$(document).ready(function () {
        var oTable = $('#example').dataTable({                    
            "aaData": orgContent,
            "bLengthChange": false //used to hide the property  

As per latest documentation bLengthChange in above piece of code should be lengthChange.