TrevorGoodchild
TrevorGoodchild

Reputation: 1060

Datatables paging not showing up

New to datatables and so far have tried every solution I can google.

I have a datatable with the following setup but I cannot get the paging buttons to show up.

<script>
$(document).ready(function () {
    $('table[id^="commissionSummaryTable"]').dataTable({
        dom: 'frtB',

        scrollY: '50vh',
        scrollCollapse: true,
        "bAutoWidth": true,
        "pagingType": "full_numbers",
        "iDisplayLength": 20,
        "bLengthChange": false,
        ordering: false,

        buttons: [
            {
                extend: 'csv',
                className: 'btn btn-success',
                text: 'Export to Excel',
                //footer: true,
                title: 'Commissions Export'
            }
        ]
    });
});

Any suggestions are appreciated.

Upvotes: 1

Views: 6804

Answers (1)

John
John

Reputation: 4981

Try to change the dom parameter in :

dom: "fltip",

Upvotes: 6

Related Questions