"LengthMenu": [ 10, 25, 50, 100] for all in datatable code example Example: datatable lengthmenu lengthMenu: [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],