DataDefinition
[ Interface ]
export interface DataDefinition {
value: any;
text: string;
source?: string;
width?: number;
height?: number;
minValue?: number;
maxValue?: number;
decimalPlaces?: number;
step?: number;
unit?: string;
resetToLastValidValue?: boolean;
}Properties
Name | Type | Description |
|---|---|---|
value | Value | |
text | Display text for a 'ComboBox', alternative display text for an 'Image'. | |
source [optional] | Web address of an image (only for 'Image') | |
width [optional] | Pixel width of the image (only for 'Image') | |
height [optional] | Pixel height of the image (only for 'Image') | |
minValue [optional] | Min value (only for 'NumericInput', 'SpinboxInput', 'DateTimeInput' and 'TimespanInput') | |
maxValue [optional] | Max. value (only for 'NumericInput', 'SpinboxInput', 'DateTimeInput' and 'TimespanInput') | |
decimalDigits [optional] | Decimal places (only for 'NumericInput' and 'SpinboxInput') | |
step [optional] | Step size (only for 'NumericInput' and 'SpinboxInput') | |
unit [optional] | Unit (only for 'NumericInput' and 'SpinboxInput') | |
resetToLastValidValue [optional] | Reset to valid values (only for 'NumericInput', 'SpinboxInput', 'DateTimeInput' and 'TimespanInput'). |
![]() | Available from 1.8 |
