Dynamic Tables macro - turning table headers into links?

93 views
Skip to first unread message

Aaron

unread,
Feb 16, 2019, 8:14:50 PM2/16/19
to TiddlyWiki
Came across Dynamic Tables, a very cool macro for creating tables. One usability thing I'd like to change though is that the column/row titles aren't hyperlinks back to the Tiddlers they're showing the data from. I've tried modifying it a little but I'm pretty clueless here how to achieve this to be honest.

barro...@gmail.com

unread,
Feb 17, 2019, 1:36:18 AM2/17/19
to TiddlyWiki
I'll have to look at dynamic tables, but column headers themselves would be hard to put links on-- since they would be linking to many tiddlers (all that it is displaying),  maybe a link using "button" widget to a tiddler with a flist ilter of all the column is displaying,  but normally you throw the links in the individual cells with <$link to="title"> </$link> around the <$view /> of the column cells.  This all would involve editing the macro itself.  Please advise if I'm misunderstanding : )

eg

<$link><$view field="title"/></$link>

<$link to={{!!title}}><$view field="caption"/></$link>

TonyM

unread,
Feb 17, 2019, 2:05:26 AM2/17/19
to TiddlyWiki
Barro,

Dynamictables is a great tool. Since a tiddler defines each column it would be possible to add column-header and column-footer fields that are wikified if they exist for each column.

I have done something similar and I call them column tiddlers. These columns can be unified by being tagged with a column list tiddler. A tag pill of the column list can be used to reorder columns.

Regards
Tony

Jed Carty

unread,
Feb 17, 2019, 10:59:34 AM2/17/19
to TiddlyWiki
I don't know why I didn't make them links before, or at least add that as an option. I think that I was trying to make the usage as simple as possible and had a time when I didn't want the titles to be links in the table.

Those are one of the many things I need to update to use some of the newer features in more recent tiddlywiki versions.

The change you want is pretty simple to make, I will try see about updating these now because I am having no success focusing on anything else today.

Aaron

unread,
Feb 18, 2019, 12:30:38 PM2/18/19
to TiddlyWiki
Awesome, keep us updated on your progress :) it's a great tool
Reply all
Reply to author
Forward
0 new messages