Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-0501:56 PM. Last Modified: 2023-05-0312:33 AM
[Imported] Dynamically Resize a popup in Runtime
>>Message imported from previous forum - Category:Scripts and Tips<< User: mchartrand, originally posted: 2018-10-25 18:59:56 Id:273 This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
_______
**_Chadam: Hi Guys, I have an embedded list on a mimic page (popup). I will like to dynamically resize this popup based on the size of the list. Has anyone done this before? Is it possible?_** ___________________________
dmercer: I don't think that you can programmatically change the size of the popup once it's open (although I'd love to be proved wrong). But you could use some script to estimate the size of the list, and then use that to set the size that it opens it as. It would be difficult to get it to work cleanly though.
Let me know if you figure this one out.
_____________________
bevanweiss: It would be quite easy to do... but it would be very inefficient.
You would essentially be executing each desired query twice... once prior to launching the popup to identify the size to open the popup as, and then again when the popup is open inside the embedded query list.
Is it really that critical? Couldn't you just create a popup that is bigger than you would typically need? It might not look that optimum, but it would be functional.