Okay
  Public Ticket #941854
pdf display
Closed

Comments

  •  2
    kamhang started the conversation

    Hi,

    according to http://wpdatatables.com/faq/how-to-hide-one-of-the-table-tools-buttons/

    I add ".wpDataTables button.DTTT_button_pdf { display: none !important; }" in Custom wpDataTables CSS, but it didn't work.

    pls help.



  • [deleted] replied

    Hi kamhang,
    Thank you for your purchase.

    You don't need to hide it with CSS you can hide it on Data source and main settings each table tool separately. Please take a look at image from the attachment.


  •  2
    kamhang replied

    Hi,

    I found it. Thanks,

    but it has another problem, when i select "Show column visibility button", the icon "column" shows all the columns, even those columns I didn't tick "visible" in "optional column setup".

    Can icon "column" only shows columns which i select visible?

    Besides, when i click "Filter in form" under "additional setting", the web page also shows those columns name which i didn't tick"visible", how can i fix it?

  • [deleted] replied

    Hi kamhang,

    Can icon "column" only shows columns which i select visible?
    - No by default but you can hide them with CSS. Please send me a link of your table and I will provide you example how to hide it.

    Besides, when i click "Filter in form" under "additional setting", the web page also shows those columns name which i didn't tick"visible", how can i fix it?
    -Same as above. You can hide it with CSS or you can uncheck "Filter in Form" and then filters will be above or below every column (It depends how you define on wpDataTables settings page) and filters of unvisible columns will not be displayed.


  •  2
    kamhang replied

    Hi,

    The link is http://www.taoists.org/temp/

    you need to enter password:tms

  • [deleted] replied

    Hi kamahang,

    You can hide relic_taxonomy_category and ID columns from columns visibility button by adding this CSS on wpDataTables settings page in wpDataTables Custom CSS field:

    #top > div.dt-button-collection > a:nth-child(9){
        display: none !important;
    }
    #top > div.dt-button-collection > a:nth-child(10){
        display: none !important;
    }
    

    You can hide these two filters by adding this CSS:

    #table_1_8_filter_sections{
        display: none !important;
    }
    #table_1_9_filter_sections{
        display: none !important;
    }


  •  2
    kamhang replied

    Hi,

    It works. Thanks,

  • [deleted] replied

    Hi kamhang,

    You are welcome. We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!