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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,703
Community Members
 
Community Events
185
Community Groups

What to do about the error message "You can't sort a table with merged cell"

Edited

I have a table without any merged cells (as far as I can tell), yet when I want to sort it I get an error popup message saying "You can't sort a table with merged cell" . How can I find out which cells are merged? Is this a Confluence bug?

 

Screen Shot 2022-10-10 at 10.25.45 AM.png

2 answers

I think the message is misleading.  When I click to sort on table headers I get:

A-Z sort

Clicking a second time, I get

Z-A sort

Clicking a third time, I get the "Can't sort with merged cell" message.  What actually happens on the third click is that the table is returned to the default sort.

However, it does look like there is a sort bug on strings from my experience.  It looks like sorting only applies to the first word in a string

See: https://jira.atlassian.com/browse/CONFCLOUD-73756

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 10, 2022

@Mihai Codoban Your table must have a merged cell somewhere in the table.  If you can not easily see where it is you would have to view the table in edit mode, click on each cell option until you see split cell and that is your merged cell. 

If you can not easily see where it is

Is there a way one can easily see where it is?

> you would have to view the table in edit mode, click on each cell option

What if there's ~80 cells? Surely this can't be the intentionally designed experience :)

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 10, 2022

@Mihai Codoban It is usually a couple of columns that were combined.  I would suggest just looking at the ones on the top if you do not visually see cells that are actually combined.

Clicked all the cells, none has "split cell" enabled.

Like Lonnie likes this
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 10, 2022

@Mihai Codoban you can submit a support issue to Atlassian and have them take a look https://support.atlassian.com/contact/

We encounter the same issue. When we examine the underlying HTML of the table, there are no <tr> elements with rowspan or colspan set to any value other than "1".

There is no indication of a merged cell throughout the table.

Nevertheless, as the reader/viewer clicks the sorting icon, the page will complain "You can't sort a table with merged cell" once each cycle through the choices.

Like Mihai Codoban likes this

The sorter seems to do a poor job with numeric fields (which have been intentionally crafted to be sortable by typical alpha-numeric sorting libraries).

For example, "2023-03-15" should come before "2023-05-15" in an ascending sort. It does not.

Overall, the order appears to be more of jumble than a sort - regardless of which sort option is clicked (up, down, or none).

Like Petr Bartos likes this

same issue here. can be replicated just by creating new table 2x2 (heading: IP adresses, comment) and trying to sort values there

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events