Imagine this: I save the contents of each textarea in an array. I load them into dynamically created textareas via a javascript function when I load the tiddler. When I want to save, I write a JSON string and save it as a tiddler. When I load the tiddler again, I read from the JSON string. You get the idea. So that part is taken care of. For my use, the sizes of the textarea content etc are small enough that there will be no performance issues here. Though I have not done this yet, I think it is doable and I know how to do it - pehaps after a bit of fighting to get the right alignment of text areas inside the table cells etc :-).
Here is what I don't know how to do it (possibly I have not had enough time invested in this to solve it yet, I agree) say I now I drag one cell over the other (or, one text area over the other), all I need is a callback to a javascript function indicating which cell was dragged over which one. Once I have that, I can swap the two textareas in my javascript array and redraw the table. I saw a couple of examples on the Internet that use HTML5 and javascript. I tried them with <HTML> and <script> tags inside tiddlers and they did not work. May be I should go back and investigate why they failed. But I am hoping someone might already have an example of a simple drag and drop working in TWC for me to start with rather than go debug this which is my default option now. Did I completely miss your point? Thanks for the response. Cheers; 'best, shankar -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
