On Saturday, April 24, 2021 at 9:34:35 PM UTC+2 [email protected] wrote: > Thank you for your feedback. The alternatives look nice but i miss > grouping. So tioday I wrote my own javascript version without jQuery. I > hope to integrate it in TiddlyWiki on Monday. For a demo see: > https://jsfiddle.net/Joost75/0tad8hgu/#&togetherjs=OzCsdP3kCO
Nice code and nice looking table! But that's not, how TW works. TW has it's own rendering mechanism, similar to react, which constantly updates the DOM according to tiddler state. TW stores everything in tiddlers. The whole UI state, is stored in tiddlers. The TW DOM is rewritten with every key press or UI interaction if needed. So as soon as you click a button, or edit a tiddler, your DOM structure will be destroyed and your sorting will start from zero. You'll need to create a TW widget, if you want to use JS code. But I think that's not necessary. >From your OP and JsFiddler 1 journal entry is 1 tiddler. ad looks similar to this. eg: title: CC Vision category: CC SA period: Q2 assignee: abc A sorted "by period" table should look like this: [image: table-example-01.gif] That's nice. .... I'm not sure, what the "selector" is for. I'm pretty sure, that all of this can be done with pure wikitext, without any javascript code. ... I personally would add a tag to every tiddler eg: journal, which will allow me to easily select "all" jouernals. It's also possible, to select all tiddlers that have a field "period" or "category" ... It only needs to be sure, that those fields exist. ... Your table looks very similar to the core "timeline" macro. So I'd start from there: https://tiddlywiki.com/#timeline%20Macro:%5B%5Btimeline%20Macro%5D%5D%20%24%3A%2Fcore%2Fmacros%2Ftimeline%20%5B%5Btimeline%20Macro%20(Examples)%5D%5D Just some thoughts. -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a113b45c-16a9-4a3f-880d-12890c4d263dn%40googlegroups.com.

