[TW5] Removing an entry in a datatiddler?

77 views
Skip to first unread message

Xavier Cazin

unread,
Jun 4, 2016, 11:56:39 AM6/4/16
to tiddl...@googlegroups.com
Hi everyone,

I can't seem to find an equivalent for the ActionDeleteFieldWidget that would let me delete an entry in a (JSON) datatiddler. Do you know the trick?

​Thank you very much in advance,​

-- Xavier Cazin

Xavier Cazin

unread,
Jun 4, 2016, 5:28:36 PM6/4/16
to tiddl...@googlegroups.com
Hello,

After refined search into this list, I found the answer, given by Tobias here: https://groups.google.com/d/msg/tiddlywiki/4XTKPnZLEMg/svmbFyOVIM8J. His trick is to use the set parameter of the button widget to identify the index entry to be removed, and then use the tm-delete-tiddler message, whithout setting a setTo value.

Cheers!
X.

-- Xavier Cazin

Xavier Cazin

unread,
Jun 5, 2016, 3:32:30 PM6/5/16
to tiddl...@googlegroups.com
Correction: the tm-delete-tiddler message has nothing to do with the subject: it was just part of Tobias' example. Dont use it unless you also want to delete the tiddler indexed by the dictionnary entry.

Best,
X.

-- Xavier Cazin
Reply all
Reply to author
Forward
0 new messages