Ton,

It turned out that we are using different versions of TableSortingPlugin, 
one of which has this function *refresh()* which the TWtable uses to 
refresh the table for sorting purposes. In the other version there is no 
such a function so results in TypeError: config.tableSorting.refresh is not 
a function.

I found it not necessary to explicitly refresh the table any more (due to 
some changes in one of the previous versions), so removed the codes 
from your test file accordingly. It seems to work again. But I am not sure 
if that will cause other problems. Please try the following modified test 
file 
https://dl.dropbox.com/u/23745840/MTC_TW266_TWTable144_TWted144_TableSort202A_QuickEdit244.html
 and 
let me know the results. Thanks.

For your information, the one I am using is version 2.0.3 modified by 
Tobias Beer in 2010, available at 
http://tobibeer.tiddlyspace.com/bags/tobibeer_public/tiddlers/TableSortingPlugin.
 
It seems to work with tabs as well.

Vincent

On Monday, November 12, 2012 3:17:00 AM UTC+8, TonG wrote:
>
> Hi Vincent, 
>
> I installed the newest version 1.4.4 of your plugins in one of my TWs 
> with a lot of tables. This TW contained the following plugins: 
> FadingMessagesPlugin        0.2 
> FontSizePlugin                1.0 
> HoverMenuPlugin                1.11 
> InlineTabsPlugin        2.0 
> NestedSlidersPlugin        2.4.9 
> QuickEditPlugin                2.4.4 
> SimpleSearchPlugin        0.4.1 
> TWtable.min                1.4.4 
> TWted.min                1.4.4 
> TabEditPlugin                0.32 
> TableOfContentsPlugin        2.4.3 
> TagsplorerMacro                1.3.3 
> TiddlersBarPlugin        1.2.5 
> ToggleElementMacro        0.6 
> WikifiedMessagesPlugin        0.4 
> Everything worked fine (so you can extend the list of working plugins) 
> till I needed to sort tables and installed TableSortingPlugin. Then I 
> got problems in Edit mode: the toolbar of the QuickEditPlugin was 
> broken. 
> It has something to do with transclusion with the <<tiddler>> macro; 
> error: TypeError: config.tableSorting.refresh is not a function. 
> I use a modification of the TableSortingPlugin, modified for sorting 
> in tabs, see: 
>
> http://groups.google.com/group/tiddlywiki/browse_thread/thread/993f08b717214feb/7a76c234457f81f3?lnk=gst&q=Tablesorting+inside+tabs#7a76c234457f81f3
>  
> The "original" TableSortingPlugin did not change anything. 
> So I made a MTC with the QuickEdit package, TableSortPlugin, TWTable 
> and TWted [1] and observed that the backstage button has disappeared. 
> I do not see that in my "working" TW (where the backstage button has 
> been modified). 
> Lateron I found that config.tableSorting.refresh is used in TWTable. 
> I haven't found time to check the "CatTheMouse" mode thoroughly; I 
> will do it in the near future. 
>
> Cheers, 
>
> Ton 
>
> [1] 
> https://dl.dropbox.com/u/2638511/MTC_TW266_TWTable144_TWted144_TableSort202A_QuickEdit244.html
>  
>
> On Nov 10, 9:59 am, Yakov <[email protected]> wrote: 
> > PS Ah, and don't forget to add this option to the TWted.min Options 
> section. 
> > 
> > By the way, I think the Note "section" of the TWted.min should go at 
> least 
> > after the header table, if present at all (the Source slice seems to be 
> > enough), what do you think? 
> > 
> > пятница, 9 ноября 2012 г., 13:02:55 UTC+4 пользователь Vincent Yeh 
> написал: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > Didn't plan to release anything today, but I just like the new feature 
> > > added yesterday and figured that some may also like it. The new 
> feature is 
> > > mouse motion activation/deactivation of edit mode. I added it because 
> I was 
> > > merging data from several tables so doing a lot of copy-and-pasting 
> work. 
> > > During the process I had to click the 'E' button twice to accomplish 
> one 
> > > inter-table copy-and-pasting task, which is quite annoying after a 
> short 
> > > while... Then I stopped to stare at the screen and said to the TW: 
> "Why 
> > > can't you be like a cat to catch the mouse yourself?" So, here it is, 
> the 
> > > CatTheMouse mode. 
> > 
> > > Have fun! 
> > > Vincent 
> > 
> > > ---------------------------------------------- 
> > > Main change 
> > 
> > >    - TWted 1.4.4 (links below) 
> > >       - CatTheMouse mode 
> > >          - Check opion chkTWtedCatTheMouse (default to false) to 
> enable 
> > >          this mode. 
> > >          - Could be useful and fun when you need to *edit multiple 
> tables 
> > >          at the same time*. 
> > >          - Could be bothersome when you need frequent access to the 
> > >          "border components", such as scroll bars, C button, etc. 
> > >          - IE8 seems to cause trouble in some cases with the C button 
> in 
> > >          this mode. 
> > 
> > > Minor changes 
> > 
> > >    - TWtable 1.4.4 
> > >       - (min)http://twtable.tiddlyspace.com/#TWtable.min 
> > >       - (regular)http://twtable.tiddlyspace.com/#TWtable 
> > >          - Explicitly exclude shadowed tiddlers. 
> > >          - Improved alignment for fixed rows/columns in Safari and 
> Opera 
> > >          - A couple of more bugs fixed for sorting with 
> TableSortingPlugin when 
> > >          there are fixed rows/columns. 
> > >          - See revision history in regular version if interested. 
> > >       - TWted 1.4.4 
> > >       - (min)http://twtable.tiddlyspace.com/#TWted.min 
> > >       - (regular)http://twtable.tiddlyspace.com/#TWted 
> > >          - Changed mosuedown/mouseup event handler to respond only to 
> > >          left button. 
> > >          - See revision history in regular version if interested. 
> > >          - TWtcalc 0.7.4 
> > >       - (min)http://twtable.tiddlyspace.com/#TWtcalc.min 
> > >       - (regular)http://twtable.tiddlyspace.com/#TWtcalc 
> > >          - See revision history in regular version if interested. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/f1Y3n9m0QG0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to