Unable to delete row from a Confluence table
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
There is a single or multiple number of rows in a table on a Confluence page that can't be deleted. The row itself may have no content or may have dummy text, but it still can't be deleted.
Diagnosis
- You can't add a new row above or below the affected row.
- Highlighting the affected row to remove it doesn't work.
- Clicking on the 'Remove row' button to remove the affected row doesn't work.
Cause
This is because the colspan
and rowspan
values are negative. This can be found in the storage format of the affected row:
<td class="highlight-green" colspan="-2" rowspan="-8">
Resolution
- Install Confluence Source Editor if you don't already have it installed.
- Edit the affected page(s).
- Click on the
<>
symbol on the top right corner of the page editor. Search for the text inside of the affected row to locate its storage format. If the row is blank, add some dummy text into the row and search for the text in the Confluence Source Editor popup.
- Locate the
colspan
androwspan
values for that row. Change any negative values to positive values. For example, this will work:
<td class="highlight-green" colspan="1" rowspan="1">
Click on 'Apply'.
- Try to remove the row – you should be able to now.