Okay
  Public Ticket #1771737
Custom headers for print and exporting
Closed

Comments

  •  1
    Creatium started the conversation

    Hello,

    I am trying to add custom styling to printing and exporting of my table data. So i.e. when user prints a file I want his name to appear before the table. Same when user exports to Excel. Custom WP data is not a problem for me, the question is how to add that custom header to the file exporting/printing.

    I tried to use custom printing with javascript window.print() - in this case I can easily add custom headers through CSS print styles (hide or show). But it does not print all the pages of table, just first one (basically prints what sees).

    So is there a way to add those custom headers? And I would prefer to do that without loosing ability to update my plugin. If that's possible.

    --

    I also have another question: how can I hide and show table tools (buttons for exporting and printing) based on user level?

  •  472
    Isidora replied

    Hi Creatium,
    Thank you for your purchase.

    Table Tools consists of a block of buttons that provides additional features for the tables: export to PDF, export to CSV, export to Excel, print view, toggle for column visibility for front-end users, etc. These functionalities are based on a 3rd party HTML5 library. There are some limitations in this library which you can find in our documentation on this link.

    I also have another question: how can I hide and show table tools (buttons for exporting and printing) based on user level?

    Unfortunately at the moment there’s no built-in solution. 

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  1
    Creatium replied

    Thank you.

    Another question: pre-filtering through URL to show all the entries? Is it possible? Can't find answer in the documentation.

  •  472
    Isidora replied

    Hi Creatium,

    You are welcome.

    About the second question:

    When you are posting on ticket that are not yours or have questions or issues which are not related to the title of the active ticket can you please open a new one, and we will help you there. In that way, issues and questions which are related to different subjects will be in different tickets so other customers or our support agents can find it easily. Our policy is to have one issue or question per ticket because of the reasons that is described already.

    Thank you for understanding.

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  1
    Creatium replied

    Oh, ok, sorry. Will do.