Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-05 01:56 PM . Last Modified: 2023-05-03 12:33 AM
>>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.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.