converting export buttons from flash to html5

converting export buttons from flash to html5

vsekvsek Posts: 30Questions: 17Answers: 0

So I am converting the export buttons to using html5 and nothing ever renders for the new buttons. Am I missing something here?
Code below:

// Data Table
    $(dataTableId).cmaDataTable({
        editDialog : standardEditDialog,
        deleteDialog : standardDeleteDialog,
        sortTableByCol : 1,
        ajaxSource : "/cma/contents/screening/restrictedEntityGroup_data",
        flagHideColumns : true,
        arrayOfColumnsToHide : [ 8 ],
        flagEnableAdminColumn : true,
        flagEnableActiveStatusFlag : true,
        activeStatusColumnId:dataTableStatusColumnId, 
        flagShowStatusFlag : true, 

        dom: 'Bfrtip',
        buttons: [
                  'copyFlash',
                  'csvFlash',
                  'excelFlash',
                  'pdfFlash'
              ]

    }); 

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    There are a lot of properties there that aren't DataTables'.

    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

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    ....and also, if you are using the documentation I linked to in your previous thread, https://datatables.net/extensions/buttons/built-in#HTML5
    why are you still doing this:

            buttons: [
                      'copyFlash',
                      'csvFlash',
                      'excelFlash',
                      'pdfFlash'
                  ]
    

    ?

This discussion has been closed.