Table with value from more than one datatiddler

82 views
Skip to first unread message

magev958

unread,
Aug 19, 2017, 8:52:55 PM8/19/17
to TiddlyWiki
I'm trying to build a table to show content from two datadictionary with the same index but different values, but with no luck. Anyone know how to do this?
/Magnus

Mat

unread,
Aug 20, 2017, 4:48:40 AM8/20/17
to TiddlyWiki
What part is the difficulty? To show content from two datadictionary tids or to generate a table... and when you say "generate", do you mean to not use the wikitext |..|..|
 syntax? Will you manually type in the indexes that you want the data for?

<:-)

Stephan Hradek

unread,
Aug 20, 2017, 4:17:34 PM8/20/17
to TiddlyWiki
Data tiddler 1

idxa:dt1-a
idxb
:dt1-b
idxc
:dt1-c



Data tiddler 2

idxb:dt2-b
idxc:dt2-c
idxd:dt2-d




Tabel Tiddler

<table>
<tr><th>Index</th><th>dt1</th><th>dt2</th></tr>
<$list filter="[[dt1]] [[dt2]] +[indexes[]]">
 
<tr>
   
<th><<currentTiddler>></th>
   
<td><$view tiddler="dt1" index=<<currentTiddler>>/></td>
   
<td><$view tiddler="dt2" index=<<currentTiddler>>/></td>
 
</tr>
</$list>
</table>


Reply all
Reply to author
Forward
0 new messages