2022.2

Table Of Contents
data-format
<td>(atablecell) Defineshowavaluemustbeformatted;e.g.data-format="date-short"dis-
playsadatevalueusingtheformatforashortdate.See:"Formattingvaluesina
DynamicTable"onpage752.
Theavailableformatsdependonthedatatypeofthecorrespondingfieldinthe
DataModel(see"Datatypes"onpage275).
TheycorrespondtotheoptionsgivenintheTextScriptWizard.Foradetailed
descriptionsee:"Formattingvariabledata"onpage732.
l
Integer,Float,Currency:
l
grouped
l
number-ungrouped
l
currency
l
currency-nosymbol
l
pattern('some pattern')(see"Numberpatterns"onpage1196)
l
String:
l
uppercase
l
lowercase
l
propercase.
NotethatitisnotpossibletosetaformatonanHTMLStringvalue.
l
Date:
l
date-short
l
date-medium
l
date-long
l
time-short
l
time-medium
l
time-long
l
datetime-short
l
datetime-medium
l
datetime-long
l
pattern('some pattern')(see"Dateandtimepatterns"on
page1180).
data-hide-when-empty
<table> Hidethetableifitisempty.Atableisconsideredemptyifthedetailrecordis
empty.Notethatanyadditionaltextisnottakenintoaccount.
See:"HidinganemptyDynamicTable"onpage752.
data-keep-when-empty
<tr>(atablerow) Hidetherowifitisempty.Arowisconsideredemptyifallelementswithadata-
fieldattributeinthatrowrefertoemptydatafields.Notethatanyadditional
textisnottakenintoaccount.
See:"Hidinganemptytablerow"onpage752.
Page 757