Dynamic tables in Shiraz is based on the great plugin TiddlyTables by Alan Aldrich, so all kodous goes to Alan.
Dynamic tables is a very simple with limited features comparing to TiddlyTables. Shiraz dynamic tables has some features not available in TiddlyTables 0.6.13 (at the time of release Dec 2019) like
These make Shiraz dynamic tables a simple and easy to use limited version of Tiddlywiki dynamic tables.
<<table-fd filter:"[is[system]prefix[$:/config]]" fields:"title description" sortOp:"sort" tblCaption:"Caption" tblClass:"" stateTiddler:"$:/temp/test">>
Using html I often set the table style to width: 100%;
it expands to fit the tiddler.
Regards
Tony
!! {{!!title}}
by {{!!artist}}
{{!!genre}}
{{!!url}}
{{!!note}}
{{!!year}}
<style>.container{ max-width: 90%; overflow-x:scroll;</style>
<div class="container"><$macrocall $name=table-fd filter="[tag[sample]]" tblClass="w-100 thead-dark" fields="tbl-expand title caption url email fa fb fc tags modified modifier" sortOp="nsort" tblCaption="""''<<tc src:"Table 1. Dynamic table example" color:orange>>''"""/></div>
<$tiddler tiddler=...
<<table-fd filter:"[tag[x]!prefix[$]]" fields:"tbl-expand fields to show goes here tags " sortOp:"sort" tblClass:"table-hover-cyan " tblCaption:"'' <$count filter='[tag[x]!prefix[$]]'/> tagged [[x]].''">>