The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Table Filter/Charts Add-on - How to Hide the Hide Column filter itself

Casey Maynard
Contributor
February 18, 2021

I would like to be able to hide the 'Hide Columns' filter from the Filter Display itself.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Katerina Kovriga _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 20, 2021

Hi @Casey Maynard ,

You may use two Table Filter macros - just wrap your table subsequently into the two macros. Then you'll be able to hide the required columns with the help of the first Table Filter macro and allow your colleagues to filter the result table with the hidden columns with the help of the second macro (they won't see that anything is hidden unless they enter edit page mode).

And if you want to prevent your colleagues from hiding columns at all, here are several useful CSS for you:

  • Hide the "Hide Columns" for the live (inline) filtration

Fri 1-3.png

a.show-filter.cursor-pointer[data-filter-type="columnhider"] {
display: none;
}

  • Hide the "Hide Columns" for the filtering panel

Fri 1-2.png

.filter-container.columnhider-element {
display: none;
}

  • Hide the "Hide Columns" for the standard "Add filters" dialog

Fri 1-1.png

select.filter-type option[value="columnhider"] {
display: none;
}

These CSS can be added to the whole Confluence instance or to specific spaces (documentation).

David
Contributor
August 30, 2022

Hi Katernina,

Thanks for this solution but this applies to a whole space or an instance. Can we do this on page level only?

 

Rgds,

DB

Katerina Kovriga _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 30, 2022

You may use the standard Confluence HTML macro on the specific page, it's available for Server and Data Center.

Like David likes this
TAGS
AUG Leaders

Atlassian Community Events