I've got it working thanks to Jed's DynamicTables. Mine is far simpler (and 
far far less functional).

Enter code here...\define grid(myfilter, list:"[list[]]")
<$set name='datafilter' filter='$myfilter$' 
emptyValue=[tag[$(currentTiddler)$]]>
<table>
   <caption>data from <<datafilter>></caption>
   <tr><th>//Link//</th><$list filter=$list$ 
variable="columntitle"><th><<columntitle>></th></$list></tr>
   <$list filter=<<datafilter>> variable="rowtiddler"><tr>
      <td><$link to=<<rowtiddler>> ><<rowtiddler>></$link></td>
      <$list filter=$list$ variable="cellfield"><td> <$transclude 
tiddler=<<rowtiddler>> field=<<cellfield>>/> </td></$list>
   </tr>
   </$list>
</table>
</$set>
\end


I don't understand why I have to set a variable for the filter in order to 
get it to work. How do I put the default value into the macro definition?


On Thursday, March 9, 2017 at 11:38:55 AM UTC-5, Jed Carty wrote:
>
> The table macros I made made be useful to you: 
> http://ooktech.com/jed/ExampleWikis/DynamicTables/
>
> Also I made a library tracker for the same reason here: 
> http://inmysocks.tiddlyspot.com/#%24%3A%2Fplugins%2Finmysocks%2FLibraryTracker%2FLibrary%20Tracker
>
>
> I am in the process of updating and moving my plugins to my new plugin 
> library, so these should get an update at some point in the not too distant 
> future.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1d33a758-f03e-4463-8bd0-12e37a912f11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to