[TWC] 2.8.1 TableSortingPlugin not working

182 views
Skip to first unread message

Wolf Bite

unread,
Jul 3, 2017, 9:17:12 PM7/3/17
to TiddlyWiki
Hi all,

the plugin doesnt work as per above

I dloaded a clean wiki & example  http://example1m.tiddlyspot.com/
does work in earlier versions but not in 2.8.1

any help appreciated

Dragon Cotterill

unread,
Jul 4, 2017, 1:21:56 AM7/4/17
to TiddlyWiki
This appears to work perfectly for me. (Chrome, Firefox, Opera, Windows 8)

You sure you're not seeing remnants of your selections when you edit the Tiddler and save it? When you edit the entry it retains your selected sorting option from what you had before. It's only when you load it for the first time that the autosort kicks in.

Wolf Bite

unread,
Jul 4, 2017, 4:49:50 AM7/4/17
to TiddlyWiki
Thanks for checking
I can confirm the tablesortingplugin works BUT

if I copy the example into a new tiddler
save
reload
the example doesnt work (but does still in the plugin details)

my understanding is I only need the tablesortingplugin and should work (plugin example works, but not in new tiddler)

anything I'm missing?

!!Example:
|sortable|k
|Name |Salary |Extension |Performance |File Size |Start date |h
|ZBloggs, Fred |$12000.00 |1353 |+1.2 |74.2Kb |Aug 19, 2003 21:34:00 |
|ABloggs, Fred |$12000.00 |1353 |1.2 |3350b |09/18/2003 |
|CBloggs, Fred |$12000 |1353 |1.200 |55.2Kb |August 18, 2003 |
|DBloggs, Fred |$12000.00 |1353 |1.2 |2100b |07/18/2003 |
|Bloggs, Fred |$12000.00 |1353 |01.20 |6.156Mb |08/17/2003 05:43 |
|Turvey, Kevin |$191200.00 |2342 |-33 |1b |02/05/1979 |
|Mbogo, Arnold |$32010.12 |2755 |-21.673 |1.2Gb |09/08/1998 |
|Shakespeare, Bill |£122000.00|3211 |6 |33.22Gb |12/11/1961 |
|Shakespeare, Hamlet |£9000 |9005 |-8 |3Gb |01/01/2002 |
|Fitz, Marvin |€3300.30 |5554 |+5 |4Kb |05/22/1995 |

Dragon Cotterill

unread,
Jul 4, 2017, 8:00:19 AM7/4/17
to TiddlyWiki
Sorry, really not seeing it here. Well the example you posted above was straight out of the plugin. if you enter autosort thus:
|Name <<autosort>> |Salary |Extension |Performance |File Size |Start date |h

It displays in the sorted order. Each time you re-load the tiddler (click off the recent timeline entry) in switched the sort order.

Is it because you may be adding autosort *before* the named column?

Wolf Bite

unread,
Jul 4, 2017, 7:50:32 PM7/4/17
to TiddlyWiki
I tried the <<autosort>> in various places to confirm, still didnt work

works on TableSortingPlugin (same wiki)

!!Example:
|sortable|k
|Name |Salary |Extension |Performance |File Size |Start date |h
|ZBloggs, Fred |$12000.00 |1353 |+1.2 |74.2Kb |Aug 19, 2003 21:34:00 |
|ABloggs, Fred |$12000.00 |1353 |1.2 |3350b |09/18/2003 |
|CBloggs, Fred |$12000 |1353 |1.200 |55.2Kb |August 18, 2003 |
|DBloggs, Fred |$12000.00 |1353 |1.2 |2100b |07/18/2003 |
|Bloggs, Fred |$12000.00 |1353 |01.20 |6.156Mb |08/17/2003 05:43 |
|Turvey, Kevin |$191200.00 |2342 |-33 |1b |02/05/1979 |
|Mbogo, Arnold |$32010.12 |2755 |-21.673 |1.2Gb |09/08/1998 |
|Shakespeare, Bill |£122000.00|3211 |6 |33.22Gb |12/11/1961 |
|Shakespeare, Hamlet |£9000 |9005 |-8 |3Gb |01/01/2002 |
|Fitz, Marvin |€3300.30 |5554 |+5 |4Kb |05/22/1995 |

doesnt on new tiddler (same wiki)

!!Example:
|sortable|k
|Name |Salary |Extension |Performance |File Size |Start date |h
|ZBloggs, Fred |$12000.00 |1353 |+1.2 |74.2Kb |Aug 19, 2003 21:34:00 |
|ABloggs, Fred |$12000.00 |1353 |1.2 |3350b |09/18/2003 |
|CBloggs, Fred |$12000 |1353 |1.200 |55.2Kb |August 18, 2003 |
|DBloggs, Fred |$12000.00 |1353 |1.2 |2100b |07/18/2003 |
|Bloggs, Fred |$12000.00 |1353 |01.20 |6.156Mb |08/17/2003 05:43 |
|Turvey, Kevin |$191200.00 |2342 |-33 |1b |02/05/1979 |
|Mbogo, Arnold |$32010.12 |2755 |-21.673 |1.2Gb |09/08/1998 |
|Shakespeare, Bill |£122000.00|3211 |6 |33.22Gb |12/11/1961 |
|Shakespeare, Hamlet |£9000 |9005 |-8 |3Gb |01/01/2002 |
|Fitz, Marvin |€3300.30 |5554 |+5 |4Kb |05/22/1995 |

the plugin example works
so why not when copied to a new tiddler, save, reload?

page doesnt throw up any error message
nothing changed should mean same example should work

when I click on the TableSortingPlugin example (column chages color and little arrow appears in heading)
when I click on the new tiddler example (nothing happens)

I appreciate your assist

Dragon Cotterill

unread,
Jul 5, 2017, 3:20:50 AM7/5/17
to TiddlyWiki
Well it works for me on every browser I've tried, so it must be something specific to you. What are you using?

Wolf Bite

unread,
Jul 5, 2017, 11:14:36 AM7/5/17
to TiddlyWiki
thanks for confirming it works for you on all browsers.

penny dropped & I tested on same browser & example in my WIN10 game machine, WORKED :)
but doesnt on my LINUX machine :(

now I'll do some more test and see if I can work out why
else give up on it working in LINUX

thanks
Reply all
Reply to author
Forward
0 new messages