Plugin Contributor
Kim L
(@kimmyx)
Hi @mihkelroomet
It’s currently not possible to use the layout option in your table’s Advanced Options. The table layout is handled using the “Arrange” option which is only available in the premium version’s Extension Manager.
Please see: Arrange data table elements
Hope that helps! Let us know if you have other questions.
Hi Kim
It does help, I have been able to move the Summary and Pagination above the table, which is more what I want. But ideally these elements would also appear below the table, so there would be two instances of either of those elements present in the table. It doesn’t look like that’s possible, is it?
(also I will note that I did see the “Arrange” option, but wrongly assumed it was meant for arranging the buttons CSV, Excel, etc, because it was next to options that were meant only for configuring these buttons)
Plugin Contributor
Kim L
(@kimmyx)
Hi @mihkelroomet,
Thanks for the response and clarification!
There’s actually a simpler way to do that, which is to use the dom option instead (Arrange option needs to be disabled for this to work). Reference here: https://datatables.net/reference/option/dom
For your case, you can try:
{
"dom": "plrtip"
}
Let us know if that works for you. 😊
Addendum: WP Data Access uses DataTables version 1.13.1, so the layout option wasn’t possible. We appreciate your understanding!
-
This reply was modified 2 years, 1 month ago by
Kim L.
-
This reply was modified 2 years, 1 month ago by
Kim L.
Well, that is strange. Whenever I add the “dom” option to advanced options, the page I had my table on just displays a WordPress message saying a critical error occurred on my site. Any idea why that could be? I did disable the Arrange option and I did try with multiple different parameters like the deafult “lfrtip”, your suggested “plrtip”, an empty string, and “lfiprtip”, which is what I was going for originally.
Plugin Contributor
Kim L
(@kimmyx)
Hi @mihkelroomet,
Thanks for the update.
The option currently works for us. See here: https://share.zight.com/OAuZmO6g
Are you currently on the latest version of WP Data Access?
Do you have a public page where we can take a look at this table?
If you wish to share more information privately, you can send us a message at Contact | WP Data Access.
We’ll wait for your email!
I sent a direct email to your support email address, as the contact form wasn’t working for me. I do believe my WP Data Access is up to date, since it doesn’t seem possible to update it on the Plugins page and I have enabled automatic updates for it.
Plugin Contributor
Kim L
(@kimmyx)
Hi @mihkelroomet,
We received your email and have responded to it.
Please kindly check. 😊