Page History
Table of Contents | ||
---|---|---|
|
Servoy allows conversion from the data shown in the UI elements to the data used in dataProviders.
By default a dataprovider value is used directly in a UI element.
The UI element must support the data type and knows how to handle it.
...
Note |
---|
UI converters are currently not supported by the Solution Model. |
Stoc |
---|
Configuring UI converters in form editor
The UI converter is configured at element level in the form editor.
It is edited as part of the format property of an element.
The format property editor allows configuration of the UI converter (mark the checkbox and select one of the available converters).
Built-in UI converter (GlobalMethodConverter)
Servoy delivers one built-in UI converter, the GlobalMethodConverter, which can also be used as database value converter.
The GlobalMethodConverter has 3 properties:
...
The image below shows how data is displayed in the UI:
UI Converter from java code (plugin)
A UI converter can be contributed by a java plugin.
...