Hey there, GREAT PLUGIN!! This thing is awesome!
Basically, I have a Hockey stat table for a league.
I set up the table with a formula for total points:
PLAYER TEAM G A PTS
Van Hoof, Ricebox 6 7 =C2+D2
Wallace, Ricebox 7 6 =C3+D3
Smith, Ricebox 8 5 =C4+D4
And so on for roughly 150 players
I also used the Custom commands: “aaSorting”: [[4,’desc’]]
All is fine for the Table on a page but when I use a short code for a text widget
it sorts it by the actual formula not the total points ie: [Van Hoof, Ricebox, 6, 7, 13]
Is there any way to remedy this?
Here is what I have for the widget: (I only want to show the top 10)
[table id=7 show_rows=”1,2,3,4,5,6,7,8,9,10,11″ use_datatables=”false” hide_rows=”all” /]
Thanks for any help, and thanks for a great plugin.
- The topic ‘Sort Shortcode for widget?’ is closed to new replies.