Thank you for you support and ideas. I took them together, spent a day 
JavaScript hacking and published the result 
here: http://tiddlywiki.doolplex.org/#GroupedTable%20Macro

I will ananimize the planning tool and publish it later as well as well as 
other macro's and tweaks I made.

Thank you for you help

Op zondag 25 april 2021 om 00:07:42 UTC+2 schreef PMario:

> 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/2398a880-c263-4dfc-884d-003066dcceefn%40googlegroups.com.

Reply via email to