Thanks so much !

Almost done ... if I can figure out how to store Slices AND Sections

obviously "getTiddlerSection" is not something that exist in TW ...

 function addColumn(tiddler) {
            context.lines[0].push(tiddler.title);
 
context.lines[1].push(store.getTiddlerSlice(tiddler.title,"SliceA"));
 
context.lines[2].push(store.getTiddlerSection(tiddler.title,"SectionB"));
            return "";
        }

Regards

Julien

On Jan 20, 3:17 pm, Udo Borkowski <[email protected]>
wrote:
> Have a look at:
>
> http://tiddlywiki.abego-software.de/#[[Create%20a%20table%20with%20one%20column%20per%20tiddler%20%28%22Vertical%20Report%22%29]]
>
> This is an example how to create "vertical reports" (i.e. tables with
> one column per tiddler) using the ForEachTiddlerPlugin.
>
> Udo
>
> On 20 Jan., 12:42, julien23 <[email protected]> wrote:
>
> > Sorry but I don't manage to do anyting out of this...
>
> > Just to be more specific on my need :
>
> > I know how to make this table with FeT
>
> > |Tiddler|SectionA|SectionB|h
> > |Tiddler1|Text1A|Text1B|
> > |Tiddler2|Text2A|Text2B|
>
> > But I would like to transpose it like this
>
> > |Tiddler|Tiddler1|Tiddler2|h
> > |SectionA|Text1A|Text2A|
> > |SectionB|Text1B|Text2B|
>
> > If anyone could help...
>
> > On Dec 16 2010, 11:48 pm, Måns <[email protected]> wrote:
>
> > > Hi Julien23
>
> > > This might be of 
> > > interest:https://groups.google.com/group/tiddlywiki/browse_thread/thread/9d2df...
>
> > > I made a little "fET-etude" from Eric's example:
> > > (http://tiddly.bplaced.net/#testcolumns)
> > > [[SomeTiddler]]
> > > /%
> > > !tasks
> > > 1. !Just for testing
> > > 1. <<forEachTiddler where 'tiddler.tags.contains("task")' write
> > > '(index < 5) ? "* [["+tiddler.title+"]]\n" : ""'>>
> > > 2. Another cell
> > > 2. <<forEachTiddler where 'tiddler.tags.contains("task")' write
> > > '(index>4) && (index<10)? "* [["+tiddler.title+"]]\n" : ""'>>
> > > 3. Yet another one
> > > 3. <<forEachTiddler where 'tiddler.tags.contains("task")' write
> > > '(index>9) && (index<15)? "* [["+tiddler.title+"]]\n" : ""'>>
> > > !end
> > > %/<script>
> > >         var here=story.findContainingTiddler(place); if (!here)
> > > return;
> > >         var lines=store.getTiddlerText(here.getAttribute('tiddler')
> > > +'##tasks','').split('\n');
> > >         var out=[]; for (var i=0; i<lines.length; i++) {
> > >                 var c=parseInt(lines[i]); if (isNaN(c)) continue;
> > >                 out[c-1]=(out[c-1]?out[c-1]+'<br>':'')
> > > +lines[i].replace(new RegExp(c+'\. '),'');
> > >         }
> > >         return '\n|'+out.join('|')+'|\n';
> > > </script>
>
> > > Cheers Måns Mårtensson
>
> > > On 16 Dec., 21:02, julien23 <[email protected]> wrote:
>
> > > > > Aren't they already?
>
> > > > I agree it is not as spécific as I though...  let's say "filled by
> > > > columns"
>
> > > > > Nope - sorry, however Eric's TagGridPlugin and GridPlugin
>
> > > > I have been using them for a while but had to get rid of them because
> > > > they were not configurable enough for me.
> > > > See my posts :
> > > > * Render a TagGridPlugin style table with values 
> > > > :http://groups.google.com/group/tiddlywiki/browse_thread/thread/c8a689...
> > > > * How to display a double entry table with FET or GridPlugin ? 
> > > > :http://groups.google.com/group/tiddlywiki/browse_thread/thread/a5cedd...
>
> > > > Hope somebody else has been doing it...
>
> > > > On Dec 16, 7:43 pm, Måns <[email protected]> wrote:
>
> > > > > Hi Julien23
>
> > > > > > I often face tables that would render better if they were filled
> > > > > >vertically.
>
> > > > > Aren't they already?
>
> > > > > > Do you have any examples using fET ?
>
> > > > > Nope - sorry, however Eric's TagGridPlugin and GridPlugin
> > > > > (tiddlytools.com)
> > > > > might be of interest, they provide horisontal tables/grids?
>
> > > > > Cheers Måns Mårtensson

-- 
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