• Resolved jossfrimond

    (@jossfrimond)


    Hi,
    I’ve got a Tablepress table on my website and users have asked me if they can export it into Excel. I can’t find out how to do this, please can you help?

    Thanks

    Joss

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, you can use the TablePress Extension from https://tablepress.org/extensions/datatables-buttons/

    Regards,
    Tobias

    Thread Starter jossfrimond

    (@jossfrimond)

    no problems, that works thanks. i’ve also donated. Thank you!

    PS. Is there any way to change the buttons into icons? Like an Excel icon, a PDF icon etc?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    great to hear that this helps, and thanks for donating!

    Yes, changing these to icons is possible, but I don’t have icons available. You would then have to apply that icon with CSS code, like

    button.dt-button.buttons-excel {
      background-image: url(...);
    }

    Regards,
    Tobias

    Hi Tobias,

    Thank you for your great work on TablePress.

    For the Export to Excel, Export to PDF and Print function of DataTables Buttons of TablePress, is it possible not to include the “Edit” link in the output?

    Regards,
    Daniel

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Daniel,

    the “Edit” link will not be shown of visitors who don’t have the necessary access rights, or who are not logged-in into WordPress on your site.
    So, normal site visitors will never see this link and it will not be in that output.

    (If you also want to hide for you or other admins, you can use the TablePress Extension from https://tablepress.org/extensions/remove-edit-link/ .)

    Regards,
    Tobias

    Hi Tobias,

    I did not mean to hide the “Edit” link on the web page (for admin users). I just hope that the word “Edit” is not shown in the output of the Export to Excel, Export to PDF and Print functions of DataTables Buttons (for admin users).

    Do I need to send you a screenshot to illustrate the issue?

    Regards,
    Daniel

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Daniel,

    thanks for clarifying that you are referring to Admin users here.

    Unfortunately, I’m not aware of a direct solution here. ?? If the “Edit” link is on the webpage, the external script that generates the files will consider it as part of the table and include it.

    The only workaround for Admin users would be to also download the files while not logged in, e.g. by opening the same page in an “Incognito” or “Private browsing” tab in the browser.

    Regards,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Tablepress User Export Button into Excel / CSV’ is closed to new replies.