how to show lenghtmenu at topright corner?

how to show lenghtmenu at topright corner?

SSuriyaSSuriya Posts: 1Questions: 1Answers: 0
edited October 2018 in Free community support
$(document).ready(function() {
    $('#example').DataTable( {
        destroy: true,
        lengthMenu: [[10, 25, 50, -1], [10, 25, 50, "All"]],
        dom: 'Blfrtip',
        buttons: [
            'copy',
            'csv',
            'excel',
            'pdf',
            {
                extend: 'print',
                text: 'Print all (not just selected)',
                exportOptions: {
                    modifier: {
                        selected: null
                    }
                }
            }
        ],
        select: true
    } );
} );

Answers

This discussion has been closed.