i have editor dataTables and i try to make custom button in table tools

i have editor dataTables and i try to make custom button in table tools

scipiosoftscipiosoft Posts: 18Questions: 8Answers: 0
edited March 2016 in DataTables

i think your example in the site is old and not compatibility to editor new version

how i can to make custom button to download some request from server?
like this:

        dom: 'C T Bfrtip',
        "tableTools": {
            "aButtons": [ {
                "sExtends":    "download",
                "sButtonText": "Download XLS",
                "sUrl":        "data.php"
            } ]
        },

but in the new syntax

Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    This appears to be a duplicate of the discussion in your other thread about this topic. There is no download button built into the new Buttons extension - as discussed in the other thread you would need to define a custom action that will perform the download.

    Allan

This discussion has been closed.