Skip to main content
Participant
October 29, 2024
Question

RH2022 - How to sort alphabetically in a table?

  • October 29, 2024
  • 3 replies
  • 225 views

RH2022  - is there still no built-in functionality in Robo when you click a button and your table gets sorted in A-> Z in the Author view.  

I've found the only workaround in the discussion for RH2017 https://community.adobe.com/t5/robohelp-discussions/rh2017-can-we-sorting-alphabetically-in-a-table/m-p/10055720#M122124

 

Please share your experience.

 

Inna

    This topic has been closed for replies.

    3 replies

    Inspiring
    November 18, 2024

    The complexity of the functionality honestly depends on how complex you want the sorting to be.

    If all you want is to sort rows according to the value of the first <td> in each <tr>, that should be trivial. If you want to take into account merged cells (and tables within tables), however, I can see why they'd rather not do it.

     

    If it's the first case, you could scrape something together with chatGPT. For something fancier, let's say you build a simple program (with UI) that enables you to:

    1. select a topic and a specific table
    2. sort it

    If any merged cells (=rowspan or colspan attributes were found) are detected, the sort should be refused.

     

    Example whipped up with pyqt6:

    Topic

     

     

    Program

     

     

    Peter Grainge
    Community Expert
    Community Expert
    November 14, 2024

    I believe I was told this is more difficult than it might seem.

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

      

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 29, 2024

    Nope, don't think so - fire up the Tracker (https://tracker.adobe.com/) and create a request, then post the link to it here so that others can vote on it.

    inna_6417Author
    Participant
    November 13, 2024

    As was suggested, I've created a feture request, please vote for it https://tracker.adobe.com/#/view/RH-12799