Is it possible to rotate a wpDatatable whose data source is mySQL 45 degrees to its left making the columns vertically stacked against each other as in the attached pic where the columns Net Profit,Max Drawdown($), Max Drawdown(%) etc.. are rotated to the left and stacked vertically?
Please note my question is not related to aligning a hard coded wpDataTable columns vertically in their original position as asked HERE but rotating a dynamically generated wpDatatable's columns position entirely to left and making them vertically positioned.
Dear Team,
Is it possible to rotate a wpDatatable whose data source is mySQL 45 degrees to its left making the columns vertically stacked against each other as in the attached pic where the columns Net Profit,Max Drawdown($), Max Drawdown(%) etc.. are rotated to the left and stacked vertically?
Please note my question is not related to aligning a hard coded wpDataTable columns vertically in their original position as asked HERE but rotating a dynamically generated wpDatatable's columns position entirely to left and making them vertically positioned.
Thank you.
Hi mehmet.
Thank you for your interest in our plugin.
If I understood you correctly, you want to basically pivot the table - making the columns display as rows, correct?
If that is true, you can take a look at this thread, where it is explained how you can do that.
After that, you will need to create a VIEW in PHPMyAdmin from that table, call it (for example) `view1`, and then create a table in wpDataTables like:
I hope this helps.
Best regards.
Kind Regards,
Aleksandar Vuković
[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