Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel

[Imported] Dynamically Resize a popup in Runtime

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Janeway Janeway

[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.


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?_**

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.


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.