[tw5] Re: sum cells in a table only if row is selected

2021-06-01 Thread Mat
OK, since you didn't decide on any particular solution, here's an untested rough outline. <$list filter="""[criteria for whatever tiddlers should be listed]"""> <$link/> {{!!myvalue}} <$button> <$action-listops $tiddler=tempsum $field="selected" $subfilter="""+[toggle]""" />

[tw5] Re: sum cells in a table only if row is selected

2021-05-31 Thread Willy Tanner
For the time being, it is just the table, no sum total of weight or anything yet. I have not expressed myself well what I meant with "selected" but your guess is exactly what I wanted to say, i.e. selecting which gear to take by putting a checkmark next to it. As I said, for the moment there

[tw5] Re: sum cells in a table only if row is selected

2021-05-31 Thread Mat
How is your table implemented? Calculating the sum of a column is not a standard feature in TW, so maybe you're using some plugin? But (probably) regardless, it should be doable, yes. One idea would be a column at extreme left or right with checkboxes. Instead of selecting, you check the