datatable lengthmenu and buttons code example Example: datatable lengthmenu lengthMenu: [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],