i try to use in tableTool in editor with custom button (download XLS)

i try to use in tableTool in editor with custom button (download XLS)

scipiosoftscipiosoft Posts: 18Questions: 8Answers: 0

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

Replies

  • allanallan Posts: 57,236Questions: 1Answers: 9,113 Site admin

    I would suggest you use Buttons rather than TableTools since TableTools is no longer being actively developed.

    For custom buttons with Buttons, see this guide.

    Allan

  • scipiosoftscipiosoft Posts: 18Questions: 8Answers: 0

    i want to do custom export button

  • scipiosoftscipiosoft Posts: 18Questions: 8Answers: 0

    ..?

  • allanallan Posts: 57,236Questions: 1Answers: 9,113 Site admin

    The link I provided above details how you can specify your own buttons.buttons.action function to be able to do anything you want, including custom export buttons.

    Allan

This discussion has been closed.