How to display a double entry table with FET or GridPlugin ?

17 views
Skip to first unread message

julien23

unread,
Jul 19, 2010, 3:54:33 AM7/19/10
to TiddlyWiki
I use TW for ideas evaluation and sorting.

I face a recurent problem to me, for which I have never managed to
have something to work with FET nor GridPlugin :

some tiddlers are tagged with "theme":
th1 th2 th3 ...thi

some tiddlers are tagged with "configuration"
conf1 ... confj

some tiddlers are tagged with "idea" + "th1, th2, conf3" for exemple
idea1, ..., ideak

I wish I could have a sumary table :

column header : my i configurations
row header : my j themes
cells : list of tiddlers tagged with idea + the column configuration
and the row theme

Please let me know if you have already seen something resembling
around.

Thanks

Julien

Eric Shulman

unread,
Jul 19, 2010, 4:07:47 AM7/19/10
to TiddlyWiki
> some tiddlers are tagged with "theme":
> some tiddlers are tagged with "configuration"
> some tiddlers are tagged with "idea" + "th1, th2, conf3" for exemple

> I wish I could have a sumary table :
> column header : my i configurations
> row header : my j themes
> cells : list of tiddlers tagged with idea + the column configuration
> and the row theme
> Please let me know if you have already seen something resembling
> around.

This will generate 'cross-tabulated' output based on combinations of
tags:
http://www.TiddlyTools.com/#TagGridPlugin

For your use-case:
<<tagGrid =configuration =theme "filter:idea" open inline>>

Note: if you have a lot of idea tiddlers shown in the table, you may
want to omit the "inline" keyword so that each table cell shows the
*number* of tiddlers, and clicking that number shows a popup with the
list of cross-tabulated tiddlers.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

julien23

unread,
Jul 19, 2010, 8:32:34 AM7/19/10
to TiddlyWiki
Dear Dear Dear Eric...

Thanks a lot

what if "configuration" had a space charater ? ( "Top 5" indeed )

for less talkative cells, I have commented the lines here below

And the results is just fine to my need

// out+=" onclick='return
config.macros.tagGrid.toggleAllColumns(this,event,"+defOpen+")'>"+
(defOpen?"&lt;&lt;&lt;":"&gt;&gt;&gt;")+"
...
// content+=hdr+" ("+label+")";
// content+="</span></div><hr>";
...
// content+="<hr>";
...
// content+='<a href="javascript:;" '+linkstyle+'
onclick="'+handler+'" title="'+tip+'">open all...</a><br>';
...
// content+='<a href="javascript:;" '+linkstyle+'
onclick="'+handler+'" title="'+tip+'">new tiddler...</a>';

Eric Shulman

unread,
Jul 19, 2010, 1:05:53 PM7/19/10
to TiddlyWiki
> what if "configuration" had a space charater ? ( "Top 5" indeed )
Then put the whole param in quotes:

<<tagGrid "=Top 5" ...

> for less talkative cells, I have commented the lines here below

Although altering my plugin code is *allowed*, I *very strongly*
discourage people from making modifications.

As soon as you share YOUR document with even ONE other person, you
will be re-distributing a "variant plugin". Of course, for *your*
purposes, this is what you want... But for *me*, it creates a never-
ending hassle, because the modified code inevitably finds it's way
into the 'wild', and then I get "bug reports" about "broken
features"... which take time to investigate.

Also note that, **I will provide NO support for modified plugins**
Any problems you have with your changes (or with any other part of the
plugin, whether altered or not) are *yours* to deal with.... and if a
variant plugin *does* start to cause me hassles or takes time away
from other projects, I will be really, really annoyed.

If there are feature enhancements you would like, please *make a
request*... if they can be implemented as an *options*, and are
generally applicable to more than just your particular use-case, then
I will likely add it to the official plugin.

see also:
http://www.TiddlyTools.com/#LegalStatements

julien23

unread,
Jul 20, 2010, 2:50:38 AM7/20/10
to TiddlyWiki
Well noted and apologies for code altering.

I will post my request.

Thanks and have a good day

Julien

Tobias Beer

unread,
Jul 20, 2010, 5:14:28 AM7/20/10
to TiddlyWiki
For a moment I thought x-tab...

http://tbgtd.tiddlyspot.com/#x-tab

...would give you what you want, but then I realized that it's still
missing the ability to filter the whole table in order to only show
resultes of a certain tag, in your case those tagged "idea".

Bummer.

Tobias.
Reply all
Reply to author
Forward
0 new messages