Okay
  Public Ticket #951392
PDF Export in Horizontal Format (Version 1.7)
Closed

Comments

  •  2
    Horst Amper started the conversation

    Hey Milijko,

    great tool!

    Could you please show the changes " to force the pdf export in horizontal format" like in the ticket kiliano wrote for the actual version 1.7?

    Thanks for your help!

    Horst


    Sorry, couldn't reopen the ticket

  •  2
    Horst Amper replied

    ... found it!

    line 2037:

            if( !empty($this->_tableToolsConfig['pdf'] ) ) {
                $obj->dataTableParams->buttons[] =
                    array(
                        'extend' => 'pdfHtml5',
                        'exportOptions' => array('columns' => ':visible'),
                        'className' => 'DTTT_button DTTT_button_pdf',
                        'orientation' => 'landscape',
                        'title' => $wdt_export_file_name,
                        'text' => __('PDF','wpdatatables')
                    );
            }


  • [deleted] replied

    Hi Horst Amper,

    Thank you for your purchase.

    I am glad that you find solution by your own. If you have more questions don't hesitate to ask. We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!