One or two columns in my table have very long text strings - is there a way to change the row height so that the column width stays fixed and the row height adjusts automatically?
Hi Bogdan, I'm working through a localhost so I can't send the link. But here are screenshots that show the table without and with text-wrap on. I'm able to get the text to wrap when I uncheck the horizontal scroll feature. The version with text-wrap on is fine except the cell size is too narrow. Is there a way for me to use CSS to change the width?
You can set the column width in the Optional column setup but in case like this I can give you some workaround. Check responsive option for that table and for columns that are too large check hide on tablets or mobiles. Then go to wpdatatables settings page and increase the mobile with or table width, for example to 3000px.
That column will now have " +" sign when you click on it that columns will appear for the each row.
One or two columns in my table have very long text strings - is there a way to change the row height so that the column width stays fixed and the row height adjusts automatically?
Hi GCooper,
Thank you for your purchase.
Unfortunately there is no option to change the row height only the width is possible to change.
Can you please send me the link of that table so I can take a look and give you my suggestion.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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'm working through a localhost so I can't send the link. But here are screenshots that show the table without and with text-wrap on. I'm able to get the text to wrap when I uncheck the horizontal scroll feature. The version with text-wrap on is fine except the cell size is too narrow. Is there a way for me to use CSS to change the width?
Thanks,
Gail.
Hi Gail,
You can set the column width in the Optional column setup but in case like this I can give you some workaround.
Check responsive option for that table and for columns that are too large check hide on tablets or mobiles.
Then go to wpdatatables settings page and increase the mobile with or table width, for example to 3000px.
That column will now have " +" sign when you click on it that columns will appear for the each row.
Hope this can help you out.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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