• Resolved sorgiulio

    (@sorgiulio)


    Hi, i have a table with 8 columns.
    In the eighth column there is the sum of the other columns (=sum(A1:G1:ecc…)
    I want to set the eighth column in descending order (from highest to lowest).
    From the various threads I read that I have to use this command in the “Custom commands” filed: “order”: [[7, ‘desc’]]
    Unfortunately this does not work.
    Where am I doing wrong?

    View Image: https://prnt.sc/nog1ba

    Thanks a lot.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The numbers in this code have to refer to the actual visible columns, so in your case, you probably want to use 2 or 3 instead of 7.

    Regards,
    Tobias

    Thread Starter sorgiulio

    (@sorgiulio)

    What a silly mistake !!
    It’s the Preview that doesn’t work also putting “3”. Maybe it’s a bug.
    If I save the changes, the table is sorted correctly.

    View image:
    https://prnt.sc/nohr00

    Very thanks TobiasBg!!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default sorting’ is closed to new replies.