Look at http://tiddlywiki.abego-software.de under tiddler:

 "List the first 10 tiddlers that have the tag 'basic' in a table with
a header"

I think his example shows how to set up almost exactly the kind of
table you want.

-- Mark

On Jan 31, 9:47 am, Måns <[email protected]> wrote:
> Sorry for the lack of context.

> I need the list to be numbered - it is not neccesary with titles for
> each column (which unfortunatelyis repeated for each line of data from
> tiddlers in the table, when I try* ) and I cannot find a solution in
> the tiddlywiki.org pages concerning tables that adresses this issue.
>
> *When I write:<<forEachTiddler
>          write '"|!col1|!col2|h\n|#cell1|cell2|\n"'
>      >>
> *Then I get: |col1|col2| (headlinecolour)
>                |cell1|cell2|
>                |col1|coll2| (again!)
>                |cell3|cell4|
>                |coll1|coll2| - etc...
> My original code:
> <<forEachTiddler
> where
> 'tiddler.tags.contains("Data1") && tiddler.data("Data2")'
> sortBy 'tiddler.data("Data1")'
> write
> '"# "+tiddler.data("Data1")+" AND  "+tiddler.data ("Data2")+"<br>
> \n"'>>
> When I put "|" in the line:
> '"|# "+tiddler.data("Data1")+" |  "+tiddler.data ("Data2")+" | \n"'>>
> I loose the numbering.
> I dont know how to change that...
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to