<< 点击显示目录 >> 主页 mappView帮助助手 > mapp View帮助信息 > Widgets > DateTime > DateTimeInput |
Widget "DateTimeInput" makes it possible to enter dates and times.
The following properties cannot be used in compound widget "Mapping":
zIndex, left, top, height, width
Editor |
Web browser |
Type |
Description |
Bindable |
Necessary |
Default value |
|
Defines the usability of the widget. A disabled widget (enable=false) does not react to user interaction and does not trigger events. The "enable" behavior is inherited from the container widgets to the child widgets. |
|
true |
|||
Defines the format used to display the date and/or time. It is possible to specify a format string (e.g. "HH:mm:ss") or predefined pattern (e.g. "F"). |
|
F |
|||
permissionOperate |
Defines the roles that are permitted to use the widget. For roles without sufficient rights, the widget does not react to user interaction and does not trigger events. |
|
|
|
|
permissionView |
Defines the roles that are permitted to see the widget. For roles without sufficient rights, the widget is hidden. |
|
|
|
|
pickerPosition |
Defines the position of "DateTimePicker" used to enter data. Possible values: bottom, center, top, left, middle, right |
|
|
right |
|
Reference to a customizable widget style. |
|
default |
|||
submitOnChange |
Defines whether changes, such as entry of a different value, should be submitted to the server immediately. Submit immediately = true. The change only takes place if "DateTimePicker" is closed using button "Enter". |
|
|
true |
|
Defines the value of the widget (i.e. the date/time specification to be displayed). For value, a default value should always be set in the ECMA standard, e.g. 2017-02-11T05:11:03.000Z. Even if a binding exists, the default value must be set! |
|
1970-01-01T00:00:00.000Z |
|||
Defines the visibility of the widget. The widget can be hidden with visible=false. (visible = true, hidden = false). The "visible" behavior is inherited from the container widget to the child widgets. |
|
true |
|||
zIndex determines the z-order of the widget. With overlapping widgets, the zIndex determines which widget is on the top and which one is on the bottom. The widget with the larger zIndex is on top, and the one with the smaller zIndex is on the bottom. The zIndex must be unique within a piece of content or a container widget. The zIndex is automatically assigned by the visual editor and can therefore be changed via the toolbar. |
|
|
|||
left |
Absolute position measured from the left border of the surrounded element (e.g. container widget or content). |
|
|
|
|
top |
Absolute position measured from the top border of the surrounded element (e.g. container widget or content). |
|
|
|
|
height |
Defines the total height of the widget in pixels. A value in % refers to the height of the surrounding element. |
|
|
30 |
|
width |
Defines the total width of the widget in pixels. A value in % refers to the width of the surrounding element. |
|
|
250 |
|
tooltip |
Defines the text that should appear as information when the tooltip indicator is pressed. You can use a static text or a text from the text system. For more information, see here. Mode "Tooltip" must be enabled for this. There are two different options for this: •Using action "ShowTooltip" •Using action "Client system" ShowTooltips. |
|
|
|
|
draggable |
Defines whether the widget can be dragged at runtime. This can be used to perform actions or establish relationships between two widgets. If true, the widget can be moved onto another widget. The source widget remains in its position and a copy is created and dragged. Actions OnDragStart and OnDragEnd can be used. If false, the widget cannot be moved. For more information, see here. |
|
|
false |
|
tabIndex |
Property tabIndex is used to manage the tab order during keyboard operation. For additional information, see Keyboard operation. ENTER triggers event Click if tabIndex ≥0. It is not possible to enter a date or time with the keyboard. |
|
|
-1 |
Type |
Description |
Default value |
|
borderWidth |
Defines the width of the border around the widget. |
2px 6px 2px 2px |
|
cornerRadius |
Defines the corner style of the widget. |
0px |
|
backColor |
Defines the background color of the widget. |
#FFFFFF |
|
backGroundGradient |
Defines the background color of the widget as a color gradient. |
|
|
borderColor |
Defines the color of the border around the widget. |
#555555 |
|
activeBorderColor |
Defines the color of the border around the widget during operation. |
#FF8800 |
|
activeBorderWidth |
Defines the width of border around the widget during active operation. |
2px 6px 2px 2px |
|
activeBackColor |
Defines the background color of a widget during operation. |
#F1F1F1 |
|
activeTextColor |
Defines the color used to display the text during operation. |
#000000 |
|
borderStyle |
Defines the style of the border around the widget. Borders can be unbroken, dashed or dotted. |
solid |
|
textColor |
Defines the color used to display the text. |
#000000 |
|
textAlign |
Defines the orientation of the text. |
right |
|
opacity |
Defines the transparency of the widget. The lower the value, the more transparent the widget. |
1 |
|
fontName |
Defines the font used for the text shown. |
Arial |
|
fontSize |
Defines the size of the font used to display the text. |
16px |
|
rotation |
Defines the rotation of the widget, e.g. a value of 90 degrees changes the rotation of the widget by 90 degrees clockwise. |
0deg |
|
bold |
Defines whether the text is shown in bold. |
true |
|
italic |
Defines whether the text is shown in italics. |
false |
|
padding |
Defines the spacing between the outer boundary of the widget and its content. For more information, see here. |
0 15px 0 15px |
|
margin |
Defines the offset of the external boundary of the widget to the widget's actual set position. For more information, see here. |
0px |
|
shadow |
Defines the shadow of the widget. |
none |
|
disabledBackColor |
Defines the background color of the widget in the disabled state. |
#F1F1F1 |
|
disabledBackGroundGradient |
Defines the background color of the widget as a color gradient in the disabled state. |
|
|
disabledBorderColor |
Defines the color of the border around the widget in the disabled state. |
#C8C8C8 |
|
disabledBorderWidth |
Defines the width of the border around the widget in the disabled state. |
2px 6px 2px 2px |
|
disabledTextColor |
Defines the color of the text in the disabled state. |
#C8C8C8 |