Silly question for you, Harry: do you only care about current chairs and ranking members in senate committees? Do you think you'd ever like to see the composition of these committees at various points in time ?
On Friday, July 23, 2021 at 8:08:25 PM UTC-3 Harry wrote: > Hi all, > > I have a niche question about creating an auto-updating table and wonder > if anyone can give me some guidance. > > To illustrate the specific context, let's say I'm trying to create a table > of all chairs and ranking memebers of the senate committees. The table > would look like this: > | Committee | Chair | Ranking Member| > | Agriculture | 1 | 2 | > | Armed Service | 3 | 4 | > > When the agriculture chair changes from “Jane Doe (FL)” to "John Smith", I > have to manually change the code entry of cell 1 from "[[Jane Doe|Jane Doe > (FL)]],,D,," to "John Smith,,R,,". > > Instead of manually putting codes into cells 1 through 4, I wonder if > there is a way that the table could update itself, since the chairs and > ranking members change from time to time. > > What I'm currently exploring is to creat two fields in each committee's > tiddler. Say for tiddler "senate agriculture committee", I creat two fields > "incumbent_chair" and "incumbent_ranking". My hope is that there can be > some way that links cell 1 with the "incumbent_chair", so that whenever I > change the "incumbent_chair" field, cell 1 in the table above would > automatically update itself (with all the formatting noted above). So far > this is not working out, and the best I can do now is to use "<$view > tiddler= field=/>" which only allows the table to update cell 1 as the text > of the field, not as a tiddler that can be clicked and redirected, nor can > I add specific formatting as mentioned in the example above. > > Is there anyway that I can write a code to reflect this need? Very much > appreciate all the help! > > > Best > > Harry > > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/02cfb375-b7e9-4b21-9ace-588be1b7387dn%40googlegroups.com.