The sorting feature introduced by CONF-2493 seems to lack an option to enable sorting for "head-less" tables.

      Create a headless table:

      1. create table e.g. by using the menu
      2. delete first row

      => The table is no longer sortable

      Workarround to restore the abilitiy to sort content (without using source editor):

      1. create new table with same number of columns
      2. cut first row
      3. paste as first row of table you want to be able to order

      Expected behavior:
      Highlighting the first row of a table turns the cells into th-elements therby making the table orderable.

            [CONFCLOUD-54557] Making tables sortable

            This was fixed with the November 12 release of OnDemand.

            https://confluence.atlassian.com/display/AOD/November+2012#November2012-Simplifiedtablehighlighting

            Marking the first row as a heading will allow the table to be sortable again. (You may need to remove and reapply in the editor to fix an existing page).

            Petch (Inactive) added a comment - This was fixed with the November 12 release of OnDemand. https://confluence.atlassian.com/display/AOD/November+2012#November2012-Simplifiedtablehighlighting Marking the first row as a heading will allow the table to be sortable again. (You may need to remove and reapply in the editor to fix an existing page).

            I am struggling with this same problem in Confluence OnDemand. I tried your workaround, but it does not work.

            Here's what I did:
            1. Create new table with same number of columns
            2. Verified that the new table is sortable
            3. Cut the first row
            4. Pasted it as first row of table I wanted to sort
            5. The table is still not sortable

            Then I checked the HTML code (view source).
            When I created the new table, each cell of the first row looked like this:
            <th class="confluenceTh sortableHeader" data-column="1"><div class="tablesorter-header-inner">TEXT</div></th>

            When I pasted that row into the old table, each cell of the first row was changed to look like this:
            <th class="confluenceTh">TEXT</th>

            The sort attributes were removed by the Paste operation.

            Christopher LaRosa added a comment - I am struggling with this same problem in Confluence OnDemand. I tried your workaround, but it does not work. Here's what I did: 1. Create new table with same number of columns 2. Verified that the new table is sortable 3. Cut the first row 4. Pasted it as first row of table I wanted to sort 5. The table is still not sortable Then I checked the HTML code (view source). When I created the new table, each cell of the first row looked like this: <th class="confluenceTh sortableHeader" data-column="1"><div class="tablesorter-header-inner">TEXT</div></th> When I pasted that row into the old table, each cell of the first row was changed to look like this: <th class="confluenceTh">TEXT</th> The sort attributes were removed by the Paste operation.

              Unassigned Unassigned
              e20c2a5ea0ff buch.de internetstores AG
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: