how to check length of datatables code example Example: datatable lengthmenu lengthMenu: [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],