• Resolved jfortune

    (@jfortune)


    Hi,

    I’ve just added datatables_buttons to my TablePress table. Looks fine.

    The outputs to print, excel and csv contain all of the table
    BUT
    The outputs to pdf only contains some of the table

    Warmest regards
    James

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Indeed, the table seems to be cut off, or rather extends beyond the bottom edge of the paper sheet… Unfortunately, I have no idea why this is, as I’m not familiar with the internals of the PDF generation (I’m not the developer behind the JavaScript code that is used for this, but I only bundled it for use with TablePress). I can therefore only suggest that you try contacting the developers of the DataTables JS library at https://www.datatables.net/ Maybe they know a solution.
    Sorry for not having better news here ??

    Regards,
    Tobias

    Thread Starter jfortune

    (@jfortune)

    Thank you Tobias.

    I did that and thy came back to me with the following answer:

    If you are using server side processing see this FAQ:

    Q. How can I export the whole table when using serverSide and Buttons.

    A. Buttons is a client-side process, so it can only export the data available at the client-side. When server-side processing is enabled, the full data set is not held on the client-side, so only the visible data can be exported. You can either: 1. Use a server-side process to create the files to download (recommended) or 2. Disable server-side processing.

    Over to you ??

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    TablePress is not using server-side processing at all, those this answer doesn’t apply here, I’m afraid.

    Did you post a link to the page with the table there? That way, they can maybe see what the problem is.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PDF created by datatables_buttons not whole table’ is closed to new replies.