Scroll Bar and Force Column Width
-
I need people to have the option to print a table with the URL visible. My solution was to put the “print” link in the last column but to have that column off of the page so you had to scroll to see it. That way it does not complicate the table. No matter what I try I cannot force the width on the other columns and it automatically squished the “Mission” column which makes the table unusable. I’ve tried the TablePress Extension: Responsive Tables but, to use that I have to turn off the “Use DataTables” and then my export buttons no longer work and I do not have search, sort, or show entries features.
Page short code [table id=7 datatables_buttons=”copy,csv,excel,pdf,print” /]
Custom CSS
button.dt-button {
background-image: none;
background-color: #6b819b;
color: #eeeeee !important;
}button.dt-button:hover:not(.disabled) {
background-image: none;
background-color: #b54747;
color: #111111 !important;
}.tablepress-id-7 .column-2,
.tablepress-id-7 .column-3,
{
width: 300px !important;
}Any suggestions?
The page I need help with: [log in to see the link]
- The topic ‘Scroll Bar and Force Column Width’ is closed to new replies.