How to use buttons of Table tools without using flash

How to use buttons of Table tools without using flash

Ravi021Ravi021 Posts: 3Questions: 1Answers: 0

Hi Allan,

I want to remove the flash dependency of table tools using buttons .Please help me out .

Answers

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin

    TableTools is no longer supported. use Buttons which does not require Flash.

    Allan

  • Ravi021Ravi021 Posts: 3Questions: 1Answers: 0
    edited February 2018

    Can you help me with the work flow . I did this :

    new $.fn.dataTable.Buttons( Table, {
                            buttons: [
                                 'csv'
                            ]
                        } );
    

    But it is not working and all the buttons(excel, pdf etc.) are appearing .
    'Uncaught TypeError: $.fn.dataTable.Buttons is not a constructor' . This is the error i am getting.

  • Ravi021Ravi021 Posts: 3Questions: 1Answers: 0

    @allan It would be very helpful if you demonstrate the working with a simple example .Thanks.

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin

    The Buttons examples are available here.

    It sounds like you might not have included the Buttons library on your page.

    Allan

This discussion has been closed.