Okay
  Public Ticket #1725810
Print wpdatatable
Closed

Comments

  • Karin started the conversation

    I want to hide some columns when printing. Tried to do a 

    @media print{ .column-<columnname>{display:none!important} }

    And to my surprise it didn't work.  Nor did @media print .column-isbn {display:none!important} work.

    The  .column-<columnname> {display:none!important}  (without the  @media print) by itself did work hiding the column in the browser.

    So is there a css way to do this?

    (Besides your date formats  are REALLY annoying, you have 12 date formats available to select, NONE of them is the international ISO standard YYYY-MM-DD - COME ON!!!! )

    BR

    Karin Wieslander

  •  472
    Isidora replied

    Hi Karin,
    Thank you for your purchase.

    That is not possible with css because it hide it from users but it is still exist in dom object of html page.

    What you can do is to hide that tables with option Visible on front-end on DISPLAY tab in column settings or you can turn on option Column visibility from Table tools tab in table settings. Like this you can hide columns from front-end and it will not be rendered in export files or print.

    Yes for next update this list will be larger and will be include this format also.

    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

  • per_web replied

    Hey,

    I have a question because print the tables, too. 

    It´s possible that the grey row background don´t hide when I print the table?

    I like this at the paper too.

    I hope you can help me.

    Thank you,

    Heike


  •  472
    Isidora replied

    Hi per_web,

    When you post question or issues 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 can find it easily. Our policy is to have one issue or question per ticket because of the reasons that is describe 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