Table no longer spanning full width?
-
So ever since the update last week my tables are not spanning full page on any of the pages. I think it has something to do with the search that I have, I have it since some of mine are very large
The page I need help with: [log in to see the link]
-
Sorry for delay. My mom died the day you posted.
So Table 15 wasn’t being affected, though I did make that change. An example of a table affected by the weird issue is 68.
Hi,
Sorry to hear that and for your loss 🙁
Can you please also make the described change for table 68 (by removing the CSS code
.tablepress-id-68 .column-1 {
display: none
}
.tablepress-id-68 colgroup {
display: none;
}and then adding
columnDefs: [
{ orderData: [ 0, 1 ], targets: [ 1 ] },
{ visible: false, targets: [ 0 ],
],
order: [ [ 1, "desc" ] ],to the “Custom Commands” field, instead of what you have in that field now)?
Best wishes,
TobiasThe hidden column is now appearing. 🙁
https://melsmarsh.com/service/
Everything was fine until that update. And I have so many tables that have hidden columns. 🙁 I might have to find another table option.
Hi,
the hidden column is now appearing, because you did not yet follow the second step of my suggestion:
Please replace the “Custom Commands” text field on the table’s “Edit” screen with this:
columnDefs: [
{ orderData: [ 0, 1 ], targets: [ 1 ] },
{ visible: false, targets: [ 0 ],
],
order: [ [ 1, "desc" ] ],Best wishes,
TobiasActually, I did the second step first. Saved it. Then removed the section from the other page, saved that. Checked. Saw the error, then recopied and pasted again and saved again.
Hi,
what error did you see? Where exactly did you paste that code? Was it really the “Custom Commands” text field in the “Table Features for Site Visitors” section on the table’s “Edit” screen? Please post a link to a screenshot (e.g. uploaded to https://imgur.com/) of where you tried pasting the code. Thanks!
Best wishes,
TobiasAll of them are the same location that I posted the last one. I don’t have an imgur account. I am so frustrated with needing to do all 80+ tables most of which have hidden columns that this is going to take forever and no offense but I need a better option that isn’t going to break every time an update comes. 🙁
Hi,
you don’t need an imgur.com account, it’s free to simply drag/drop an image there. But ok, if posting a screenshot is not possible here, please post what content is in that “Custom Commands” field that I described right now.
You have actually not yet posted about any error messages that you are getting.
I’m really trying to help here… And please be assured that TablePress is not breaking with every update. This unfortunately was a needed change, due to external library update.
Best wishes,
TobiasThere were no errors that were being given
Hi,
Ok, I think, we are getting closer! We’ll just need to fix a small typo that I made in the code (sorry). Please try again with this (which has an extra
}
in the middle line):columnDefs: [
{ orderData: [ 0, 1 ], targets: [ 1 ] },
{ visible: false, targets: [ 0 ] },
],
order: [ [ 1, "desc" ] ],Best wishes,
TobiasDoesn’t seem to have fixed it. 🙁
Hi,
I’m still seeing the old line
{ visible: false, targets: [ 0 ],
in the “Custom Commands” when loading the page.
That line should be
{ visible: false, targets: [ 0 ] },
Maybe you also need to clear some cache again after making the change?
Regards,
TobiasI made the change and cleared the cache and still not fixed. ><
I remember back when I hand coded all my tables, back in the day of Geocities and Tripod, I wish I could go back to that. I really require only the most basic tables. I don’t need things to sort.
I just need my data presented and make it seem seamless with the rest of my website, this is my online resume. I just want my matching background, and things to look ok. Not fancy but ok.
I think I am giving up on Tablepress.
After just trying three other plugins, I decided to copy and paste things directly from my CV into wordpress (there are invisible tables there) and that seems to be doing better than all of that and it just took about 30 seconds and no coding.
Thanks for at least trying.
Hi,
sure, no problem, you are very welcome! I hope that you can find a good solution that works for your needs!
Best wishes,
Tobias
- You must be logged in to reply to this topic.