Sorting by 2 columns
-
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 https://www.brithockey.co.uk.
Thanks in advance.
Richard
- The topic ‘Sorting by 2 columns’ is closed to new replies.