<< 点击显示目录 >> 主页 mappView帮助助手 > mapp View帮助信息 > Widgets > Containers > GridLine > GridLine |
Widget "GridLine" is a freely configurable dashboard in which the individual elements can be expanded or collapsed. The arrangement of the elements (widget "GridLineItem") can be changed at runtime using drag-and-drop.
Widget "GridLine" can be aligned horizontally or vertically and defines the size of the area in which "GridLineItem" widgets are added and displayed.
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 |
|||
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). |
|
|
|
|
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. |
|
|
|
|
Reference to a customizable widget style. |
|
default |
|||
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 |
|||
width |
Defines the total width of the widget in pixels. A value in % refers to the width of the surrounding element. |
|
|
500 |
|
height |
Defines the total height of the widget in pixels. A value in % refers to the height of the surrounding element. |
|
|
200 |
|
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. |
|
|
|||
orientation |
Defines the orientation of widget "GridLineItem" in the grid line. They can be arranged horizontally or vertically. |
|
|
Horizontal |
|
gridSize |
Defines the width or height of widget "GridLineItem", depending on the orientation. |
|
|
200px |
|
Relative path to an image that is shown in the widget when it is modified. |
|
|
|||
Relative path to an image that is shown in the widget when it is expanded. |
|
|
|||
Relative path to an image that is shown in the widget when it is collapsed. |
|
|
|||
modifyAnimation |
Defines whether "GridLineItem" widgets move back and forth in a modified state. This way, it is immediately detected whether the modification mode is switched on or off. |
|
|
false |
|
transitionTime |
Defines the time (ms) that the child elements use for a visual transition to zoom in or overlap. |
|
|
0 |
|
snapToPosition |
Defines whether the child elements at the end of a movement snap to the next predefined point. |
|
|
false |
|
Defines sorting of the grid line items. Example: '[{"wRef":"GridLineItem1","s":1},{"wRef":"GridLineItem3","s":1},{"wRef":"GridLineItem2","s":0}]' |
|
|
|||
tooltip |
Defines the text that should appear as information when the tooltip indicator is pressed. A static text or a text from the text system can be used. 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. |
|
|
|
|
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 operate widget GridLine with the keyboard. |
|
|
-1 |
Type |
Description |
Default value |
|
backColor |
Defines the background color of the widget. |
Transparent |
|
backGroundGradient |
Defines the background color of the widget as a color gradient. |
|
|
borderStyle |
Defines the style of the border around the widget. Borders can be unbroken, dashed or dotted. |
solid |
|
borderWidth |
Defines the width of the border around the widget. |
1px |
|
borderColor |
Defines the color of the border around the widget. |
#000000 |
|
imageExpandedColor |
Defines the color of the image that was set for property expandImage. |
#000000 |
|
imageCollapsedColor |
Defines the color of the image that was set for property collapseImage. |
#000000 |
|
imageModifyColor |
Defines the color of the image that was set for property modifyImage. |
#000000 |
|
padding |
Defines the spacing between the outer boundary of the widget and its content. For more information, see here. |
10px 0px |
|
margin |
Defines the offset of the external boundary of the widget to the widget's actual set position. For more information, see here. |
0px |
|
cornerRadius |
Defines the corner style of the widget. |
0px |