Support » Plugin: TablePress » Sorting by 2 columns

  • Resolved richardr

    (@richardr)


    Hi There

    I am having trouble with a TablePress Table.

    What I am doing is running a sports league website and the table is a league standings table. I have sorted the table by Points, but what I also need to do is sort by Goal Difference.

    The code I am using is :- [table id=2 row_order=”sort” row_order_sort_column=”I” row_order_sort_direction=”DESC” hide_rows=all show_rows=”1-6″]

    Goal Difference is column H and Points is Column I.

    I have also tried [table id=2 row_order=”sort” row_order_sort_column=”H-I” row_order_sort_direction=”DESC” hide_rows=all show_rows=”1-6″] but this doesn’t work.

    The TablePress plugins that I have installed on the website are TablePress Extension: Table Row Order.

    The website is http://www.brithockey.co.uk.

    Thanks in advance.
    Richard

    http://wordpress.org/extend/plugins/tablepress/

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi Richard,

    thanks for your question.

    Unfortunately, the Table Row Order Extension only supports sorting for one column, sorry.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Sorting by 2 columns’ is closed to new replies.