SRS Column
Optional XML element with column additional formatting
xpath = srs/def/itm[@model='column']
Attributes
Required
name
, required
Optional
lg
- (true/false) show/hide column on desktopsm
- (true/false) show/hide column on mobileex
- (true/false) show/hide column on export for example exceltitle
title for name exampletitle="{invoiceFullNR} {printoutName}"
value
URL/item/{anycolumnname}/{anycolumnname}?app_name=[[app_name]]&columnx1={columnx1}
,- supported variables
[[app_name]]
[[kv.v.*]]
- Warning
&
need to be replaced with&
- supported variables
label
required
true/falsetype
see sectionColumn type
acl
column permissioncss
custom class - see xd.css https://kotynia.github.io/xd-css/width
column widthopts
uiinline
- render inline component in rowuianonymize
- when role uianonymize assigned sensitive information are removeduisum
- total footer in table
Column type
Autodiscover
List of autodiscover types from database schema
tguid
tdate
- Date DD/MM/YYYY, with utc offsettbool
Booltinteger
example 2 (Integer)tdecimal
example 2.02 (Decimal)tstring
UI types
tdatetime
- Date with time without utc offset DD/MM/YYYY HH:mmtinput_number
- input numbertinput_text
- texttinput_bool
- checkbox numbertlink
- link- text value = url
- if
panull
text value not link
tlink_frame
- link , when ctrl key then modal- text value = url
- if
panull
text value not link
tlink_modal
- tlink_frame with default modaltlink_tag
- build tag link with color based on texttlink_icon
- internal paanda client link with icon font awesome 4 icon- text value = url
- column.css - font awesome 4 class https://fontawesome.com/v4.7.0/icons/ example
fa fa-bar-chart
tlink_download
- dedicated for files downloadtlink_icon_download_pdf
- dedicated for download files pdf.- The downloaded file name can be set by column.title property.
- only work for icons! Make sure you passed it in column.css
- example use:
<itm model="column" name="action" label="Drukuj" type="tlink_icon_download_pdf" title="{invoiceFullNR} {printoutName}" css="fa fa-print">{action}</itm>
turl_blank
- external link in new windowturl_post
- send standard javascript object to url- text value = url
tcolor_progress
turl_progress
tformat_bytes
- Human readable size input bytestformat_k
- Human readable size for large numbers, REturn 10K, 20Mttag
- build tag list with color based on texttstring_multi
-- multiline Text with Line breaks similar to HTMLpre
tagtimg
- imagetmail
email separated by space
server side transformation
tcolor
, render hexadecimal color code based on texttbase64
- server side base64 datastore image render return bytes- support : "jpg", "png", "jpeg", "apng", "webp", "gif" with optimization, optional w,h,o - width,height,option, default w=400
tbarcode
- server side barcode returns bytes , can usewidth
attribute andopts="label"
to display labeltqrcode
- server side qrcode returns bytestmarkdown
, renders markdowntjson
, renders xml to json s
Special column names
pa_background
Hexadecimal color for backgroundpa_color
Hexadecimal color for text
Examples
tjson
<Array
will force array output
XML | |
---|---|
timg
images
Important notice ampersand (&) must be replace with & in attributes
turl_blank
external linking
XML | |
---|---|
tstring_multi
Text with Line breaks similar to HTML pre
tag
SQL Server Example:
SQL | |
---|---|
pa_background
color for background
Used with 'var(--xd-green1)'
XML | |
---|---|
Used with hex value (e.g. '#112233') or column name from query (e.g.column_hex_example)