Hello community,
I'm searching for a way to shorten a confluence table in the "view" mode.
Szenario:
We have some pages with huge confluence tables, lets say 40 columns. But we only want to show the last 10 columns.
How can I achieve this?
Info:
We cannot use the HTML add-on from Bobswift, due to a serious security (XSS) vulnerability witch comes with the Add-on.
Regards,
Jan
Dirty but good, we're using an add-on which has a css macro.
td:nth-last-child(+n+6) {
display: none;
}
Works! :)
Hello Jan,
You can use Table Filter macro for this purpose:
You can try it right now on the demo site.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jan,
I think, this should be possible with a user macro that is filtering columns. I've done something similar, filtering rows with JQuery. Should work with columns too, I think. I've written an article about that here:
Viele Grüße um die Ecke
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moin Thomas,
I'll try that one, thanks!
Beste Grüße zurück ;)
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using a user macro you could actually do it without having to resort to jQuery. Look into the nth-child CSS selector and display: none.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.