The plugin allows admin users to give non admin users with specific WordPress roles acces to Data Tables to create and maintain their own tables.
The plugin allows admin users to give non admin users with specific WordPress roles acces to Data Tables to create and maintain their own tables.
WP Data Access version 5.3.9 is not seeing new updates in the plugin page. The latest version is currently 5.3.15.
To download the latest update, please follow these steps:
Feel free to message us if you encounter any problems during the update.
Hello,
I have database table with one large column. I see you using jquery dataTables, is it possible to limit the width just for one column.
Thank you,
Anatoly
Hi Anatoly,
Not sure if I understand your question correctly, but you can change the css white-space property for jQuery DataTable columns. If you change it to normal, text (in long columns) will be wrapped.
Add the example code below to your WordPress theme customizer to wrap your text. Be aware that you need to replace “your-table-name” with the table name for which you want to change the css white-space property.
#your-table-name.dataTable.nowrap td {
white-space: normal;
}
Hope this helps!
Good luck,
Peter
Thank you for the tip.
This did not work:
#your-table-name.dataTable.nowrap td {
white-space: normal;
}
This worked for me:
table.dataTable.nowrap td {
white-space: normal !important;
}