• Resolved coroleu

    (@coroleu)


    Hi tobias, i try to sort a couple tables (GBA tab) with your “Table Row Order” extension but only work with the first table (handicap 00-16). Have you any idea why?
    Thanks a lot

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Can you maybe provide more details? Like what are the exact Shortcodes used on that page?

    Regards,
    Tobias

    Thread Starter coroleu

    (@coroleu)

    Nevermind Tobias, my fault, “sintaxis” error. By the way, how i do to order one column inside another column… like this:
    DATE PLACE
    01/01/2017 5
    01/01/2017 3
    01/02/2017 2
    01/02/2017 1

    First order by date and then order by place.

    Thanks

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    good to hear that you found the problem!

    About the sorting of multiple things: That’s not possible with the Table Row Order Extension, I’m afraid 🙁 Sorry.

    Regards,
    Tobias

    Thread Starter coroleu

    (@coroleu)

    Thanks, and with another extension? or custom code?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    I’m not aware of any solution in that direction, unfortunately.
    You could use the DataTables JS library to sort for multiple values, but only if these are in different columns. You could achieve that by adding a “Custom Command” on the table’s “Edit” screen like

    "order": [[ 0, 'asc' ], [ 1, 'asc' ]]
    

    which would sort for the first and then for the second column, when the table is loaded (the numbers for counting the columns start with 0 for the first column in this code).

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Sorting tables in the same page’ is closed to new replies.