Changing Own Size/Foreground Status
The following methods can be used to change HTML5 controls to reset their own size and change their foreground status.
window.CDSWebVisuAccess.sendResizeRequest window.CDSWebVisuAccess.sendChangeForegroundStateRequest
Use case:
For example, a date/time picker element or a combo box element is used in a visualization. These elements can extend their selection range and overlap other elements.
For more information, see the following:
Example 57. Example
Calling a Method
window.CDSWebVisuAccess.sendResizeRequest(150,150); // Example call window.CDSWebVisuAccess.sendChangeForegroundStateRequest(true) // Example call "Bring to Foreground". It must be reset to FALSE.
The window.onresize event can then be used within the iframe to check if the resizing is complete.
The resizing is done exclusively in the frontend. The backend (IEC) is not involved and receives no information about it.