Properties
- autoConfirm boolean
Automatically confirm selections when clicking outside a listbox, without showing the selections toolbar.
- checkboxes boolean
Show values as checkboxes instead of as fields.
- frequencyMax 'fetch' | ValueExpression
frequencyMax calculation needed for histogram when not using qListObjectDef.qFrequencyMode: 'P' use an expression in the form
Max(AGGR(Count([field]), [field]))(when needed) or 'fetch' that triggers an extra engine call but needed for library dimension that could change field when using the object - histogram boolean
Show histogram bar. also requires (qListObjectDef.qFrequencyMode 'V' and frequencyMax) or qListObjectDef.qFrequencyMode 'P'
- layoutOptions object
Layout settings.
layoutOptions properties
- dataLayout 'singleColumn' | 'grid'
Layout mode.
- dense boolean
Dense mode.
- layoutOrder 'row' | 'column'
Layout order. Only used when dataLayout is 'grid'
- maxVisibleColumns object
Max visible columns. Only used when dataLayout is 'grid' and layoutOrder is 'row'
maxVisibleColumns properties
- auto boolean
Automatically fit as many columns as possible. Only used when dataLayout is 'grid' and layoutOrder is 'row'
- maxColumns number
Fixed number of max visible columns. Only used when dataLayout is 'grid' layoutOrder is 'row' and auto is false
-
- maxVisibleRows object
Max visible rows. Only used when dataLayout is 'grid' and layoutOrder is 'column'
maxVisibleRows properties
- auto boolean
Automatically fits as many rows as possible. Only used when dataLayout is 'grid' and layoutOrder is 'column'
- maxRows number
Fixed number of max visible rows. Only used when dataLayout is 'grid' layoutOrder is 'column' and auto is false
-
-
- qListObjectDef ListObjectDefRequired
qListObjectDef properties
- frequencyEnabled boolean
Show frequency count. also requires qListObjectDef.qFrequencyMode to be set
-
- representation RepresentationRequired
representation properties
- borderColor string
Cell border color. Only used when
typeis 'image' andborderWidth> 0. - borderColorMode 'single' | 'expression' | 'selectionState'
Cell border color mode. Only used when
typeis 'image' andborderWidth> 0. - borderWidth number
Cell border width in px. Only used when
typeis 'image'. - cellBgColor string | object | ValueExpression
Cell background color (hex string or color object when cellBgColorMode='single') or expression (when cellBgColorMode='expression'). Only used when
typeis 'image'. - cellBgColorMode 'single' | 'expression' | 'selectionState'
Cell background color mode. Only used when
typeis 'image'. - cornerRadius number
Corner radius of the image cell in pixels. Only used when
typeis 'image'. - gridGap number
Spacing between image grid cells, as a percentage of the column width. Only used when
typeis 'image'. - imageLabel ValueExpression
Per-value image label expression. Only used when
typeis 'image' andimageSettingis 'label'. Stored in qExpressions with qLabel='imageLabel'.imageLabel properties
- qValueExpression objectRequired
qValueExpression properties
- qExpr stringRequired
-
-
- imagePosition string
Image position within the cell. Only used when
typeis 'image' andimageSizeis not 'stretch'. - imageSetting 'url' | 'label'
When
typeis 'image', choose whether the per-value expression (qExpressions.qLabel='imageUrl'/'imageLabel') provides the image URL ('url') or the image label ('label'). - imageSize 'alwaysFit' | 'fitWidth' | 'fitHeight' | 'stretch' | 'alwaysFill'
Image sizing mode. Only used when
typeis 'image'. - imageUrl ValueExpression
Per-value image URL expression. Only used when
typeis 'image' andimageSettingis 'url'. Stored in qExpressions with qLabel='imageUrl'. - showSelected boolean
When
typeis 'image', show only selected values once a selection is applied (while selecting, all values stay visible). Set to false to keep unselected values visible. - subtitle ValueExpression
Per-value subtitle expression. Only used when
typeis 'image' andtextOverlayis not false. - textOverlay boolean
Whether to render the title/subtitle overlay text. Only used when
typeis 'image'. - titleBackground boolean
Draw a background behind the title text for legibility. Only used when
typeis 'image'. - titlePosition string
Overlay text alignment as
{vertical}-{horizontal}(e.g. 'top-left', 'center-center', 'bottom-right'). Only used whentypeis 'image'. - tooltip ValueExpression
Per-value tooltip expression. Only used when
typeis 'image'. - type 'text' | 'image'
How the dimension values are presented.
-
- searchEnabled boolean
Enables search.
- showTitle boolean
Show title.
- title string
Listbox title
- wildCardSearch boolean
Pre-fill search input field with wildcard characters.
Extends ListObjectDef, see Engine API: ListObjectDef.
Properties
- frequencyEnabled boolean
Show frequency count. also requires qListObjectDef.qFrequencyMode to be set
Representation settings for the dimension values, set on the listbox object root representation
(a sibling of qListObjectDef, alongside layoutOptions).
Notes on image representation:
-
- When
typeis'image'the values are rendered as images. Image metadata is resolved from list-object expressions (qListObjectDef.qExpressions) using theirqLabelkeys.
- When
Properties
- borderColor string
Cell border color. Only used when
typeis 'image' andborderWidth> 0. - borderColorMode 'single' | 'expression' | 'selectionState'
Cell border color mode. Only used when
typeis 'image' andborderWidth> 0. - borderWidth number
Cell border width in px. Only used when
typeis 'image'. - cellBgColor string | object | ValueExpression
Cell background color (hex string or color object when cellBgColorMode='single') or expression (when cellBgColorMode='expression'). Only used when
typeis 'image'. - cellBgColorMode 'single' | 'expression' | 'selectionState'
Cell background color mode. Only used when
typeis 'image'. - cornerRadius number
Corner radius of the image cell in pixels. Only used when
typeis 'image'. - gridGap number
Spacing between image grid cells, as a percentage of the column width. Only used when
typeis 'image'. - imageLabel ValueExpression
Per-value image label expression. Only used when
typeis 'image' andimageSettingis 'label'. Stored in qExpressions with qLabel='imageLabel'.imageLabel properties
- qValueExpression objectRequired
qValueExpression properties
- qExpr stringRequired
-
-
- imagePosition string
Image position within the cell. Only used when
typeis 'image' andimageSizeis not 'stretch'. - imageSetting 'url' | 'label'
When
typeis 'image', choose whether the per-value expression (qExpressions.qLabel='imageUrl'/'imageLabel') provides the image URL ('url') or the image label ('label'). - imageSize 'alwaysFit' | 'fitWidth' | 'fitHeight' | 'stretch' | 'alwaysFill'
Image sizing mode. Only used when
typeis 'image'. - imageUrl ValueExpression
Per-value image URL expression. Only used when
typeis 'image' andimageSettingis 'url'. Stored in qExpressions with qLabel='imageUrl'. - showSelected boolean
When
typeis 'image', show only selected values once a selection is applied (while selecting, all values stay visible). Set to false to keep unselected values visible. - subtitle ValueExpression
Per-value subtitle expression. Only used when
typeis 'image' andtextOverlayis not false. - textOverlay boolean
Whether to render the title/subtitle overlay text. Only used when
typeis 'image'. - titleBackground boolean
Draw a background behind the title text for legibility. Only used when
typeis 'image'. - titlePosition string
Overlay text alignment as
{vertical}-{horizontal}(e.g. 'top-left', 'center-center', 'bottom-right'). Only used whentypeis 'image'. - tooltip ValueExpression
Per-value tooltip expression. Only used when
typeis 'image'. - type 'text' | 'image'
How the dimension values are presented.
see: https://qlik.dev/apis/json-rpc/qix/schemas#%23%2Fdefinitions%2Fschemas%2Fentries%2FValueExpression
Properties
- qValueExpression objectRequired
qValueExpression properties
- qExpr stringRequired
-