I think I have a workaround and it seems to work on the examples given in 
the two sorting plugins.

However, I do not use them myself so do not have more examples to test on. 
If you are using either SortableGridPlugin or TableSortingPlugin, please 
try TableEditor v1.1.8 (http://qmowcy2.tiddlyspace.com/#TableCalculator) 
with your own stuffs and see if it works. Let me know if it doesn't. Thanks.

Vincent

On Sunday, August 5, 2012 10:52:49 AM UTC+8, Vincent Yeh wrote:
>
> The TableEditor DOES NOT work with either SortableGridPlugin or 
> TableSrotingPlugin. I thought it worked. My mistakes. (Sorry, David.)
>
> Both sorting plugins work well on their own but only ascending with 
> TableEditor. The reason is that they store needed information in a SPAN 
> element they created, but this element gets recreated(?) and their needed 
> information flushed out when a tiddler gets refreshed. The TableEditor 
> calls store.saveTiddler() to save wikitext each time a table gets sorted 
> (so the underlying wikitext would be consistent with the rendered HTML), in 
> which the tiddler gets refreshed and, in turn, the sorting information gets 
> flushed out every time sorted -- no chance to go descending.
>
> I don't have an easy way to fix it yet. If some one has suggestions/ideas, 
> please let me know.
>
> Vincent
>
> On Friday, July 13, 2012 12:12:30 AM UTC+8, Vincent Yeh wrote:
>>
>> David,
>>
>> The TableEdit plugin now works with SortableGridPlugin and 
>> TableSortingPlguin. It reorders the underlying wikitext in accordance with 
>> the sorted result, there is no inconsistency any more. You can download the 
>> latest version and see.
>>
>> For download: Go to qmowcy2.tiddlyspace.com, find the TableEdit tiddler 
>> in the public section.
>> For those who are not familiar with the two sorting plugins, there are 
>> two example tiddlers in my tiddlyspace for reference.
>>
>> Vincent
>>
>> On Tuesday, July 10, 2012 11:42:42 AM UTC+8, Vincent Yeh wrote:
>>>
>>> David,
>>>
>>> I found a way to make them work together. You can download the newest 
>>> version and give it a try. The reason and workaround are explained in the 
>>> revisions section.
>>>
>>> However, I also found a deeper issue between the sorting plugins and the 
>>> TableEdit plugin: They are not consistent!
>>> The sorting plugins (SortableGridPlugin and TableSortingPlugin) work on 
>>> a rendered DOM table, while thisTableEdit plugin works on its underlying 
>>> wikitext. THERE WILL BE INCONSISTENCY AFTER SORTING! And I don't know 
>>> how to fix that yet...
>>>
>>> Vincent
>>>
>>> On Friday, July 6, 2012 9:59:34 PM UTC+8, David Szego wrote:
>>>>
>>>> Fantastic work - this is really useful to me, thank you.
>>>>
>>>> I've noticed it doesn't work with the SortableGridPlugin from 
>>>> http://rumkin.com/tools/tiddlywiki/#SortableGridPlugin
>>>>
>>>> If I do:
>>>>
>>>> |editable|k
>>>> |!Heading 1|!Heading 2|!Heading 3|h
>>>> |Cell|cell|cell|
>>>>
>>>> ...where the |h invokes the sorting plugin, I simply get no edit 
>>>> button. If I omit the h, all is good.
>>>>
>>>> Happy to help you debug if you'd like. Great work, again.
>>>>
>>>> Cheers,
>>>> David Szego
>>>>
>>>> On Sunday, 24 June 2012 13:28:04 UTC-4, Vincent Yeh wrote:
>>>>>
>>>>> Dear All,
>>>>>
>>>>> It seems quit a while already but if any one is still interested, I 
>>>>> have just released a TableEdit plugin that might do the job. You can 
>>>>> visit 
>>>>> my TiddlySpace at qmowcy2.tiddlyspace.com, find the TableEdit tiddler 
>>>>> in the Public section. Comments and suggestions are welcome.
>>>>>
>>>>> Best,
>>>>>
>>>>> Vincent
>>>>>
>>>>> On Wednesday, January 16, 2008 3:41:04 AM UTC+8, Nicolas S. wrote:
>>>>>>
>>>>>> Good evening Eric, 
>>>>>>
>>>>>> I was just wondering if you had any idea of how soon in the future 
>>>>>> you planned on working on/releasing the EditableTablePlugin (see bottom 
>>>>>> of 
>>>>>> your post below)
>>>>>> Please, do note take this as a personal request for more work from 
>>>>>> you on TW, as I can already hardly believe how much you contribute to it 
>>>>>> already... ;) 
>>>>>>
>>>>>> In fact, I was just wondering if this was a distant idea in your mind 
>>>>>> or something you were already working on today, to know if it was worth 
>>>>>> waiting (even a couple more months or 6 months, I don't care) before 
>>>>>> starting a new task on my side that is going to involve a very large 
>>>>>> (>100) 
>>>>>> number of tables. This task is not urgent (well, it has to be finished 
>>>>>> some 
>>>>>> day, in like 9 months), but it might spare me so much time once this 
>>>>>> miraculous plugin would be released that I could wait a long time before 
>>>>>> starting the task, if only I knew you were to publish it in a 
>>>>>> "not-further-than-6-months" delay. 
>>>>>>
>>>>>> Thanks again for your great work anyway
>>>>>>
>>>>>> -Nicolas
>>>>>>
>>>>>> On Dec 26, 2007 11:55 PM, Eric Shulman <[email protected]> wrote:
>>>>>>
>>>>>>>
>>>>>>> > I'm looking for a plugin which allows to edit the content of a 
>>>>>>> table
>>>>>>> > cell in a tiddlywiki simply by clicking it with your mouse cursor.
>>>>>>> > Especially in big tables, it would be much more convenient to edit 
>>>>>>> > content that way. As far as I can remember I once stumbled upon a
>>>>>>> > tiddylwiki with exact that feature, yet I can't find it any more.
>>>>>>>
>>>>>>> http://www.TiddlyTools.com/#SliceGridPlugin
>>>>>>>
>>>>>>> *generates* a grid (table) that displays tiddler slice values and
>>>>>>> includes an "edit-in-place" feature: click a value in a grid cell and
>>>>>>> it changes to an edit field.  Type your input.  Press enter (or 
>>>>>>> click 
>>>>>>> away).  The value you input is then written back to the corresponding
>>>>>>> tiddler slice.
>>>>>>>
>>>>>>> Note that, currently, this feature only works within 
>>>>>>> SliceGridPlugin's
>>>>>>> generated tables.  However, I am working on a re-factoring my 
>>>>>>> edit-in- 
>>>>>>> place code into a separate "EditableTablePlugin" so that it CAN be
>>>>>>> used with ANY table.
>>>>>>>
>>>>>>> I let you know when it's available.
>>>>>>>
>>>>>>> -e
>>>>>>> Eric Shulman
>>>>>>> TiddlyTools / ELS Design Studios 
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>

-- 
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/-/oRABU-1zrckJ.
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