Button collections

Button collections

marcelzmarcelz Posts: 3Questions: 2Answers: 0

I tried creating a small collection with two buttons just like the example below:
https://datatables.net/extensions/buttons/examples/initialisation/collections.html

The two buttons are csvFlash and pdfFlash

  buttons: [
    {
      extend: 'collection',
      text: 'Save <span class="caret"></span>',
      buttons: [
        {
          extend: 'csvFlash',
          title: 'CSV_Test'
        },
        {
          extend: 'pdfFlash',
          title: 'PDF_Test'
        }
      ]
    }
  ]

When I try to click CSV, the "file save" menu of the PDF is invoked.
When I click PDF nothing happens except that I see in the UI that both button are clicked!

What is going on? (if I use plain pdf than everything works just fine)
Do I need to somehow provide/customize the IDs of these actions?

Is there a way for the CSV/PDF HTML5 versions to open a file dialog?

This discussion has been closed.