|
The Value Display widget is available as a standard widget in the platform and as a web component that you can import from an SDK.
|
Property Name
|
Description
|
Base Type
|
Default Value
|
Bindable? (Y/N)
|
Localizable? (Y/N)
|
||
---|---|---|---|---|---|---|---|
Label
|
The text that appears in the label of the Value Display widget.
|
STRING
|
n/a
|
Y
|
Y
|
||
LabelAlignment
|
Aligns the label to the Left, Right, or Center along the horizontal axis.
|
STRING
|
Left
|
N
|
N
|
||
HorizontalAlignment
|
Aligns the value to the Left, Right, or Center along the horizontal axis.
|
STRING
|
Left
|
N
|
N
|
||
Data
|
The data source for the Value Display widget.
|
n/a
|
n/a
|
Y
|
N
|
||
CustomClass
|
Defines the CSS to the top div of the widget. When entering multiple classes, separate each class with a space.
|
STRING
|
n/a
|
Y
|
N
|
||
MaxHeight
|
Sets a maximum height for the Value Display inside containers with static positioning.
A disclosure button, show more link, or an ellipsis appears at the run time in case of an overflow.
|
NUMBER
|
n/a
|
N
|
N
|
||
MaxWidth
|
Sets a maximum width for the Value Display inside containers with static positioning.
If the MultiLine is set to True then the content is line wrapped.
|
NUMBER
|
n/a
|
N
|
N
|
||
ModalHeight
|
Sets a fixed height for the modal window.
|
NUMBER
|
n/a
|
Y
|
N
|
||
ModalWidth
|
Sets a fixed width for the modal window.
|
NUMBER
|
n/a
|
Y
|
N
|
||
Disabled
|
Disables the widget in the mashup. The widget appears in the mashup but is not available to use.
|
BOOLEAN
|
False
|
Y
|
N
|
||
ValueFormat
|
Opens a configuration dialog box that enables you to specify how data is formatted and displayed in the widget. In ThinWorx 9.1 and later, you can also apply state formatting to the widget.
|
Renderer and State Formatting
|
n/a
|
N
|
N
|
||
VerticalAlignment
|
Aligns the value to the Top, Bottom, or Center along the vertical axis.
|
STRING
|
Top
|
N
|
N
|
||
LabelType
|
Sets the text type for the label of the widget to Header, Sub-Header, Label, or Body.
|
STRING
|
Label
|
N
|
N
|
||
MultiLine
|
Breaks the value text across a new line when it exceeds the specified width.
|
BOOLEAN
|
True
|
N
|
N
|
||
TextIfNoValue
|
Sets a text that appears when the widget data source does not contain a value
|
STRING
|
n/a
|
Y
|
Y
|
||
TooltipField
|
Sets a tooltip text that is displayed when you hover over the widget.
|
STRING
|
n/a
|
Y
|
Y
|
||
TooltipIcon
|
Sets an icon image for the tooltip of the widget.
You can add an image or specify an image URL path.
|
MEDIA ENTITY
|
n/a
|
N
|
N
|
||
DisclosureControl
|
Specifies how to display the full value when it exceeds the specified dimensions for the widget. How the full value appears, depends on what you select:
• Display info button — In a modal window
• Use 'Show more...' link — Using a Show More link.
• Display ellipsis (...) — Using an ellipsis.
|
STRING
|
Display Info Button
|
N
|
N
|
||
Clicked
|
Triggers an event when the widget is clicked.
|
n/a
|
n/a
|
Y
|
N
|