2022.2

Table Of Contents
1. Intheworkspace,opentheDesigntab.
2. Ifthetablealreadyhasaheader/footer:
a. Right-clicktheheaderofthetableifyouwanttoaddaheaderrow,orthefooterofthetableifyou
wanttoaddafooterrow.
b. OntheshortcutmenuselectRow > Insert beloworInsert above.Thenewrowwillbeaddedto
theheaderorfooter.
Ifthetabledoesn'thaveaheader/footer,addit(see"Addingaheaderorfooter"onpage657)
andproceedwiththenextstep.
Todetermineifatablehasaheaderand/orfooter,expandthetableonthe"Outlinepane"
onpage977.
3. Selectthenewrow(see"Selectinganelement"onpage570).
4. Onthe"Attributespane"onpage969,selectoneoftheoptionsfromtheShow Rowdrop-down
thatspecifieswhethertherowmustberepeatedintheoutput.Theoptionsare:
l
At start of table:Therowwillonlyappearonthepagewherethetablestarts.
l
All:Therowwillappearonallpages.
l
Before page break:Therowwillappearonallpagesexceptthelast.
l
After page break:Therowwillappearonallpagesexceptthefirst.
l
At end of table:Therowwillonlyappearonthelastpage.
Youcanfillthenewheaderorfooterrowsasusual.Youcouldforexampledragarootleveldatafieldto
therow(see"Variabledatainthetext"onpage708)ortypeinthecells.Seealso:"Mixingtextanddata
inacellwithadirectlinktoadatafield"onpage751.
Youcouldalsoaddasubtotal(seebelow).
Addingsubtotals
WhencreatingaDynamicTablewiththeWizard,youcanaddsubtotalsbasedononedatafieldtothe
table'sfooterandheader.Itisalsopossibletoadd(extra)subtotalstoanexistingDynamicTable.
Subtotalsareaddedbyusingthedata-sumanddata-show-rowattributes,normallyintheheader
and/orfooterofthetable.
Notethatthisrequiresthetabletohavethedata-expander="2019"attribute.Tablescreatedwiththe
DynamicTableWizardthatwasintroducedinversion2020.1willgetthisattributeautomatically.
ForinformationaboutaDynamicTable'sattributessee"ADynamicTable'sdata-attributes"on
page755.
Toaddsubtotalstotheheaderand/orfooter:
Page 748