Buttons not appearing on the page

Buttons not appearing on the page

james55james55 Posts: 3Questions: 1Answers: 0
edited October 2015 in Free community support

Hi Alan,

Below is the code that i use to intialize the my datatables

     var table = $("[id$='MainTable']").dataTable({
            "sDom": "Bfrtip",
            "buttons": [
                'copy', 'excel', 'pdf'
            ],
            "sPaginationType": "full_numbers",
            "sPageLast":"last",
            "bAutoWidth": false, 
            "iDisplayLength": 25,
            "aoColumns": [
                { "sWidth": "2%" },
                { "sWidth": "14%" },
                { "sWidth": "14%" },
                { "sWidth": "24%" },
                { "sWidth": "24%" },
                { "sWidth": "14%" },
                { "sWidth": "12%" },
                { "sWidth": "8%" }
            ]
        }); 

The buttons are just not appearing on the page. What am i doing wrong here?? Also, this is on a VisualForce page in Salesforce CRM.

Answers

This discussion has been closed.