• Resolved lashbrooke

    (@lashbrooke)


    Hi Tobias,

    I was wondering if it is at all possible to add a print option for my table?

    Many Thanks
    Sharon

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Sharon,

    if you select the “DataTables+TableTools” JavaScript library on the “Plugin Options” screen, and then activate its usage on the “Edit” screen of your table, you will get a “Print” button above the table.
    That button then creates a page that only shows the table, which can then be printend with the browser’s printing function.

    Best wishes,
    Tobias

    Thread Starter lashbrooke

    (@lashbrooke)

    Thanks so much for the quick reply, I have got it now : )

    Just a quick question, do you have the flexibility to have this toolbar at the bottom of the table instead of at the top?

    Cheers
    Sharon

    Hi Sharon,

    yes, that should be possible by adding some code to the DataTables loading call by using the “Custom Commands” textfield in the “DataTables JavaScript features” section on the “Edit” screen of the table.

    To move the toolbar to the bottom, you could try to add

    "sDom": 'lfrtip<"clear">T'

    into that field.

    Regards,
    Tobias

    Thread Starter lashbrooke

    (@lashbrooke)

    Brilliant – thank you!!!

    Hi,

    no problem, you are very welcome!

    Best wishes,
    Tobias

    Here is a link telling you what options to change to add print functionality to your tables:

    http://wordpress.org/support/topic/wp-table-reloaded-printing-table

    Cheers

    Erik

    Hi Erik,

    that link is pointing to this exact thread 🙂 Are you sure you meant to post it here and not in a different thread?

    Regards,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘wp-table-reloaded – printing table’ is closed to new replies.