2022.2

Table Of Contents
FormattingvaluesinaDynamicTable
ValuesinDynamicTablecellscanbeformattedindifferentways.Adatevalue,forexample,couldbe
displayedas"Apr2,2016"(shortdate)or"4/2/1612:00AM"(mediumdate/time).
Whichformatsarepossibledependsonthedatatypeofthefieldthatcontainsthevalue(see"Data
types"onpage275).
Selecting a format
Theformatofeachvaluecanbechosenwhencreatingatable.Foranexplanationofthepossible
formatssee"Formattingvariabledata"onpage732.
Howyouchangetheformattingofvaluesinanexistingtabledependsonwhetherthecellorspancon-
tainsanexpressionorisdirectlylinkedtoadatafield(see"Expressionsorplaceholders?"on
page747).
Ifthecellorspancontainsanexpression:
l
Thereisanumberof"FormatHelpers"onpage769thatyoucantypeinanexpressiontoformat
theoutputdifferently.
Ifthecellorspanhasadirectlinktoadatafield:
l
SelecttheelementthatcontainsthevalueandthenusetheFormatdrop-downonthe"Attributes
pane"onpage969.
l
Openthe"Sourcetab"onpage989andmanuallyaddthedesiredformattothecellusing
thedata-formatattribute(see"ADynamicTable'sdata-attributes"onpage755).
HidinganemptyDynamicTable
ThenumberofrowsinaDynamicTableisvariable,asitdependsonadetailtableinthedata.
Youcanhideatablethatdoesnotcontainanydata.Therearetwowaystoachievethat.
l
WhencreatingaDynamicTable,youcanchecktheoptionHide when empty.(See"Creatinga
DynamicTable"onpage742.)
l
ForanexistingDynamicTableyoucanselectthetable(see"Selectinganelement"onpage570)
andchecktheoptionHide when emptyonthe"Attributespane"onpage969.
Hidinganemptytablerow
Empty rowsareomittedfromaDynamicTablebydefault.
Arowisconsideredemptyifallelementswithadata-fieldattributeinthatrowrefertoemptydatafields.
Anyadditionaltextisnottakenintoaccount.
Tokeepemptyrowsvisibleintheoutput:
Page 752