• Resolved veronica

    (@veronicalobanov)


    Hi,
    Great plugin! I got it working with basic options. I would like to have an option to export data to excel / csv and possibly to pdf (Buttons extension). Are those included into your plugin? How would I go about adding those options to my table?
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Veronica, Did you find how to make this work? I’m trying to use columnsToggle which uses buttons and haven’t been able to get it working yet.

    Thread Starter veronica

    (@veronicalobanov)

    Hi,
    I contacted plugin developer and he graciously agreed to add buttons functionality to this plugin within a week or so. I am waiting! I will update here once it is done.

    Thread Starter veronica

    (@veronicalobanov)

    This is from the author:
    Get plugin from https://github.com/samsk/wp-datatable.
    Add fat=”1″ to shortcode to enable bigger DT.

    He will be updating it here as well.

    I have not tested yet, planning to do it within couple of days. ?? Hope it helps!

    Plugin Author samsk

    (@samsk)

    Latest plugin with added Buttons extension and export to csv/excel has been released as version 0.2.3.
    For usage of Button extension see manual – https://datatables.net/extensions/buttons/.

    ie.

    
    [wp-datatable id="mtable" fat="1"]
        dom: 'Bfrtip',
        paging: true,
        responsive: true,
        ordering: true,
        buttons: [
            'copy', 'csv'
        ]
    [/wp-datatable]
    

    Note that this plugin only provides datatables functionality for your tables, to configure each table to your needs, you have to consult manual of datatables and its extensions (https://datatables.net/manual/index), and use proper config options inside of shortcode.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using buttons: excel, csv export, etc.’ is closed to new replies.