• Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 4.3
    • None
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      It would be nice to have sortable tables, where you could click on any single table heading and the table would be resorted by the header you have clicked on. Clicking on the same heading again would then invert the sort.

            [CONFSERVER-2493] Sortable Tables

            John Masson added a comment - - edited

            Hi All,

            Thanks for your comments and patience.

            Sortable tables functionality was released in the Confluence 4.3 EAP which you can download here.

            Baring any unforeseen issues this will be in the 4.3 final release.

            Thanks,
            John

            John Masson added a comment - - edited Hi All, Thanks for your comments and patience. Sortable tables functionality was released in the Confluence 4.3 EAP which you can download here . Baring any unforeseen issues this will be in the 4.3 final release. Thanks, John

            Bob Swift added a comment -

            fyi... table-plus continues to work (in compatibility mode) on Confluence 4.x - see https://bobswift.atlassian.net/wiki/display/TBL/2011/09/19/Confluence+4.0+compatibility+for+Table+and+other+plugins with full support in beta now.

            Bob Swift added a comment - fyi... table-plus continues to work (in compatibility mode) on Confluence 4.x - see https://bobswift.atlassian.net/wiki/display/TBL/2011/09/19/Confluence+4.0+compatibility+for+Table+and+other+plugins with full support in beta now.

            We also lost the table-plus macro after our recent upgrade, and we miss being able to sort tables. Why remove useful functionality with the "upgrade"? Please restore table-plus, or give us some way to create modern tables.

            Deleted Account (Inactive) added a comment - We also lost the table-plus macro after our recent upgrade, and we miss being able to sort tables. Why remove useful functionality with the "upgrade"? Please restore table-plus, or give us some way to create modern tables.

            This does seem like basic table functionality. We can do it via Bob Swift's plug-in, but then we have to store the content in an external file. And sometimes the sort function stops working (shows working in the macro preview, but fails to sort on the page) – not sure why, maybe because Firefox updates to a new version every month?

            At any rate, this would be a good addition to basic table functionality.

            Bill Bailey added a comment - This does seem like basic table functionality. We can do it via Bob Swift's plug-in, but then we have to store the content in an external file. And sometimes the sort function stops working (shows working in the macro preview, but fails to sort on the page) – not sure why, maybe because Firefox updates to a new version every month? At any rate, this would be a good addition to basic table functionality.

            After upgrading from Confluence 3 to confluence 4.1, we lost access to the table-plus plugin which gave sortable columns, and my users are really missing this feature. The feature is really useful... sad to see the request is over 7 years old...

            Paul Morahan added a comment - After upgrading from Confluence 3 to confluence 4.1, we lost access to the table-plus plugin which gave sortable columns, and my users are really missing this feature. The feature is really useful... sad to see the request is over 7 years old...

            Tin Pham added a comment - - edited

            Hi Christian, good link. I always wondered why this feature is taking so long when it's just a matter of using some JavaScript libraries (well at least for not enormously large tables).

            I don't think this will work with Confluence 4.x which removes access to source code though... so here's another bump to add this feature.

            Tin Pham added a comment - - edited Hi Christian, good link. I always wondered why this feature is taking so long when it's just a matter of using some JavaScript libraries (well at least for not enormously large tables). I don't think this will work with Confluence 4.x which removes access to source code though... so here's another bump to add this feature.

            Just adding a javascript lib from http://www.kryogenix.org/code/browser/sorttable/ and giving the table an attribute is enough.

            Deleted Account (Inactive) added a comment - Just adding a javascript lib from http://www.kryogenix.org/code/browser/sorttable/ and giving the table an attribute is enough.

            Thanks Tin. This is actually a good workaround while waiting for it to be implemented in Confluence. The macro works just fine here and fulfills the basic requirement of quickly sorting tables by headings.

            Fabio Weissert added a comment - Thanks Tin. This is actually a good workaround while waiting for it to be implemented in Confluence. The macro works just fine here and fulfills the basic requirement of quickly sorting tables by headings.

            Tin Pham added a comment - - edited

            For those who can not wait and have users willing to use wiki markup you can use this macro,

            https://studio.plugins.atlassian.com/wiki/display/TBL/Confluence+Table+Plugin

            I also found a live version here,
            https://wikispaces.psu.edu/display/tips/Creating+a+Sortable+Table

            Unfortunately this does not match my users so I can not comment on actual usage.

            Tin Pham added a comment - - edited For those who can not wait and have users willing to use wiki markup you can use this macro, https://studio.plugins.atlassian.com/wiki/display/TBL/Confluence+Table+Plugin I also found a live version here, https://wikispaces.psu.edu/display/tips/Creating+a+Sortable+Table Unfortunately this does not match my users so I can not comment on actual usage.

            Tin Pham added a comment -

            Just to add to the requirements, the author should be able to mark the column to sort by default. If possible it would be nice to also sort via a url parameter so you can link to the page and choose the default column to sort by. Finally, if a user chooses a new item to sort by, it should store a cookie on the user's browser so that when she/he comes back it will remember.

            In regards to conflict of which column to sort by, parameter versus cookie, the parameter should override cookie. The author's choice of default column to sort by should come last.

            Tin Pham added a comment - Just to add to the requirements, the author should be able to mark the column to sort by default. If possible it would be nice to also sort via a url parameter so you can link to the page and choose the default column to sort by. Finally, if a user chooses a new item to sort by, it should store a cookie on the user's browser so that when she/he comes back it will remember. In regards to conflict of which column to sort by, parameter versus cookie, the parameter should override cookie. The author's choice of default column to sort by should come last.

            Is there an estimated time when this upgrade will be available?

            Martrice Denson added a comment - Is there an estimated time when this upgrade will be available?

            This feature is implemented on twiki and it is most important reason why we still run Confluence and twiki together. Funny but true.

            Veijo Paasonen added a comment - This feature is implemented on twiki and it is most important reason why we still run Confluence and twiki together. Funny but true.

            Both issues deal with the tables and how they are displayed in Confluence.

            Daniel Ostermeier added a comment - Both issues deal with the tables and how they are displayed in Confluence.

            Good idea! In combination with CONF-4625 this would allow to save distinct structered data in confluence and reuse it.

            Martin Ollesch added a comment - Good idea! In combination with CONF-4625 this would allow to save distinct structered data in confluence and reuse it.

              wwalser wwalser (Inactive)
              ben@atlassian.com BenjaminA
              Votes:
              61 Vote for this issue
              Watchers:
              40 Start watching this issue

                Created:
                Updated:
                Resolved: