• Resolved worksonline_mb

    (@worksonline_mb)


    I need to make a table that contatins the following columns:
    # Position (1, 2, 3, 4 etc.)
    Name (Peter, Martin, Sue, Ellen, etc.)
    Points (10, 5, 7, 3, etc.)

    Position is the persons place in the competition.
    Name is the competitor.
    Points is the persons score. This will change during the competition and is manually updated once a day.

    When I change a persons PONITS in the table I need the POSITION to change value as well. The person with the highest POINTS is number one and so on.

    If for example Peter is number 1 and has 10 points and Martin is number 2 with 8 points this week. Then next week Martin wins and get an extra 3 POINTS. Now Martin has 11 POINTS and his POSITION needs to be changes to number 1 and Peters POSITION to numner 2.

    Is that possible?

    https://ww.wp.xz.cn/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The best solution that I see here would be to sort the table for Points after making changes to the table. You can sort the table by simply clicking the sorting arrow icon that appears when you hover with the mouse over the column letter above the points column, on the table’s “Edit” screen.
    After that, the table would be in the correctly sorted order. You can then use a small TablePress Extension from https://tablepress.org/extensions/datatables-counter-column/ to automatically add a “Position” column (that column will not be visible on the “Edit” screen but only when the table is shown on the page).

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Score table with position and score’ is closed to new replies.