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

This widget could not be displayed.
Steven Behnke Community Champion 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; 
}

 


This widget could not be displayed.
Steven Behnke Community Champion Jan 20, 2016

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

176 views 18 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you