Mike helped me make a gradelibrary and I can use it with wikiCalc in a
fET like this:
<<forEachTiddler
where
'tiddler.tags.contains("student")'
sortBy 'tiddler.title'
write
'"|[["+tiddler.title+"]]|<<tiddler WikifyPoints2Grades with:
[["+tiddler.title+"]]\>\>|\n"'
begin '"|sortable|k\n|Student|Grade|h\n"'
end 'count+" grades\n"'
none '"no grades\n"'
>>
When I've made a tiddler "WikifyPoints2Grades" with: <<wikiCalc
"MANS.gradeMe(%0)""poi...@$1">>
Now I need to put |average: |<\<columncalc average 2 -1>\>|
at the bottom of the fET..
Same problem - I can't find any examples in the threads - actually I
got the idea from a thread by
Kashgarinn:
http://groups.google.dk/group/tiddlywiki/browse_thread/thread/404bc49cc1125e96/dba6da1f442cf9b4?hl=da&lnk=gst&q=columncalculator#dba6da1f442cf9b4
but he made changes to the ColumnCalculatorPlugin itself...
Is that neccesary?
regards Måns Mårtensson
On 10 Dec., 01:00, Måns <[email protected]> wrote:
> Hi TwWizards
>
> How do I put columncalc (http://www.tiddlytools.com/#ColumnCalculatorPlugin
> ) in a fET?
> Columncalc needs to be put in the bottomrow.
> I tried this (doesn't work):
> <<forEachTiddler where 'tiddler.tags.contains("task")'
> sortBy 'tiddler.title'
> write
> '(index < 600)? "|!"+(index+1)+"| "+tiddler.data("hours")+" t |
> [["+tiddler.title+"]] |\n" : ""'
> begin '"|sortable|k\n"
> +"| ! |! <<tag task \>\> |! tiddler |h\n"'
> end '"
> ||time total: <\<columncalc sum 2 -1>\>||"'>>
>
> YS 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.