Buttons div shows up but no buttons are visible

Buttons div shows up but no buttons are visible

gregwoodburygregwoodbury Posts: 1Questions: 1Answers: 0

Debugger code (debug.datatables.net): ikatuf
Error messages shown: None
Description of problem: I am creating a data table using the following constructor:

$('#' + 'table_div_' + componentGUID + ' table').DataTable({
           "dom": 'lBfrtip',
           "buttons": ['csv', 'excel', 'pdf']
});

When the table is rendered there is a div injected for the buttons, but the div is empty. There are no JS errors on the page as far as I can see.

<div id="DataTables_Table_1_wrapper" class="dataTables_wrapper no-footer">
    <div class="dataTables_length" id="DataTables_Table_1_length">...</div>
    <div class="dt-buttons"></div>
    ...
</div>

It appears that all css and js is loaded properly. Is there a misconfiguration somewhere?

Answers

  • colincolin Posts: 12,441Questions: 0Answers: 2,107

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.