I just have two queries about how the plugin saves out the tables as PDFs:
1. When downloading the PDF, it doesn't adjust to include all the table columns - my tables have quite a few columns and it cuts off the last few. It looks to be saving the PDF in portrait view and not landscape, but it doesn't do this for all of the tables - some of them saved out as landscape and they are fine. How can this be fixed?
2. Is there any way to align the content to center in the PDFs and Excel downloads? I have centered it on the website using CSS, but my client has asked if this is possible in the downloads too?
I have added an attachment to show you what I mean regarding question 1.
1 and 2. We are using datatables library for rendering tables and datatables is using pdfmake library for generating PDF Files. Library for creating and saving PDF Files is pdfmake. You can take a look at their documentation how it can be changed and all available features - Link.
Also if you want to change the orientation of the PDF print you can see this workaround
In file../wp-content/plugins/wpdatatables/source/class.wpdatatable.php and around line 2800 you can find
If you like our plugin and support we'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. It means a lot to us.
Thanks.
I just ran the update with the updater in the Wordpress backend - there weren't any issues.
How do I run the update again because it says it's up to date in the backend? Must I redownload the plugin files from CodeCanyon and manually upload them via FTP? Will I not lose all my tables and data?
Hi there,
Thanks for an awesome plugin!
I just have two queries about how the plugin saves out the tables as PDFs:
1. When downloading the PDF, it doesn't adjust to include all the table columns - my tables have quite a few columns and it cuts off the last few. It looks to be saving the PDF in portrait view and not landscape, but it doesn't do this for all of the tables - some of them saved out as landscape and they are fine. How can this be fixed?
2. Is there any way to align the content to center in the PDFs and Excel downloads? I have centered it on the website using CSS, but my client has asked if this is possible in the downloads too?
I have added an attachment to show you what I mean regarding question 1.
Thanks in advance.
Hi Natalie_Cary,
Thank you for your purchase.
1 and 2.
We are using datatables library for rendering tables and datatables is using pdfmake library for generating PDF Files. Library for creating and saving PDF Files is pdfmake.
You can take a look at their documentation how it can be changed and all available features - Link.
Also if you want to change the orientation of the PDF print you can see this workaround
In file../wp-content/plugins/wpdatatables/source/class.wpdatatable.php and around line 2800 you can find
and replace it with
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Bogdan,
I have just updated wpData Tables in my site and now the site has crashed and it's giving me this error when I use WP_debug mode:
Parse error: syntax error, unexpected '[' in /home/exoweldco/public_html/wp-content/plugins/wpdatatables/source/class.wdttools.php on line 832
Please could you urgently assist - I don't know what the issue is because I don't know PHP.
Thanks
HI Natalie_Cary,
Can you please update the version of PHP.
Our plugin requires minimum version 5.4 but we recommend that you update it to 7 or more.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you very much for your wonderful support! All fixed.
Hi Natalie_Cary,
The pleasure is mine, you are welcome.
If you like our plugin and support we'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. It means a lot to us. Thanks.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I've enabled WP_debug again so you can see the errors
HI Natalie_Cary,
Can you please check now.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Bogdan,
The tables look look like they're back in the backend, but when I click to edit them, there are errors - see attached.
But still not working on the front end - see attached.
Hi Natalie_Cary
It looks like that you did not properly updated the plugin.
Can you please update it again and tell me do you still have this issues.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Bogdan,
I just ran the update with the updater in the Wordpress backend - there weren't any issues.
How do I run the update again because it says it's up to date in the backend? Must I redownload the plugin files from CodeCanyon and manually upload them via FTP? Will I not lose all my tables and data?
HI Natalie_Cary,
You can manually update the plugin by following this steps:
1.) Download zip from this link ( I assume that you already have this file so you can skip this first step)
2.) Use FTP to open /yourwordpressfolder/wp-content/plugins
3.) Delete existing wpdatatables folder.
4.) Upload previously downloaded wpdatatables folder through FTP to plugins folder (unzip it)
5.) Go to WP-admin panel, open Plugins section.
6.) Deactivate wpDataTables, and then activate it again.
In this case you will not lose any of your tables.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Many thanks Bogdan - that seems to have worked and all of my tables are still there. Once again, really appreciate your help.
I have left a rating on CodeCanyon.
Thanks!
Hi Natalie_Cary,
Glad that everything is working fine now.
Thank you very much for the 5 star review, we really appreciate it.
If you have any more issues feel free to open a new ticket.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables