I want to use buttons extension and place csv and pdf buttons in a different div

I want to use buttons extension and place csv and pdf buttons in a different div

ankur.jainankur.jain Posts: 4Questions: 2Answers: 0

Hello Team,

I want to use buttons extension, as of now buttons can be placed near by table, but is there any way wherein I can attach export event to any button placed some where else on the page?

Thanks
Ankur

This question has an accepted answers - jump to answer

Answers

  • ankur.jainankur.jain Posts: 4Questions: 2Answers: 0

    I want to achieve something similar to below

    https://datatables.net/examples/api/regex.html

    but for buttons

  • allanallan Posts: 63,116Questions: 1Answers: 10,397 Site admin
    Answer ✓

    is there any way wherein I can attach export event to any button placed some where else on the page?

    You can place the Buttons anywhere you want using the buttons().container() method and a little jQuery, but the export functions used by Buttons are not currently publicly exposed.

    Allan

This discussion has been closed.