Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Table headers show clickable text

I am using tables extensively on my documentation wiki. The header text default table, however, appear to be links, that is, when the mouse is hovered over a table header, the icon turns to a hand, which makes it look clickable. Is there some way that we can get rid of this default behaviour, that is, the mouse icon does not change to make the header text look like a link? Thanks.

 

3 answers

1 vote
Steven Behnke Community Leader Jan 22, 2016

No worries about the delay. We all have things going on! In the Cloud you have a couple ways to achieve non-sorting tables. I'll list 'em out.

Normally, a table is sortable when using a header. This is seen when hovering over the header, the mouse turns into a pointed hand, and the table is clickable with sorting icons.

image2016-1-22 16:46:3.png
This image is an example of sortable tabular data.

1. Formatting

Instead of using the header option, you could simply format the key row/column. This involves cell shading and bold text.

image2016-1-22 16:51:11.png

image2016-1-22 16:52:13.png

This looks the same as a header row, although it is a few more clicks

2. Merged cells

If you use a merged cell, the table won't be sortable.

image2016-1-22 16:58:11.png

3. Stylesheet

In Atlassian Cloud, there is a deprecated macro. It may not be around much longer. It's part of the Adaptavist Content Formatting macros, within the selection of free macros.

If you add the CSS Stylesheet macro to your page and add the CSS below, that will disable the function from the stylesheet side, for all tables on the page. Feasibly you could add this once to a page, and then use the Page Include macro to include it on several pages. Again, this macro will be removed at some point so I wouldn't use this method on Cloud.

.sortableHeader { 
    pointer-events: none !important; 
}

 


0 votes
Steven Behnke Community Leader Jan 20, 2016

There could be a workaround.... Are you using Cloud or Server?

I'm sorry about the delay... I did not realize you had commented on this.

On the cloud.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence Cloud

Please tell us how you use Confluence space settings

👋 Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with im...

317 views 11 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you