Skip to main content
15-Moonstone
September 1, 2021
Solved

Container responsive on a mashup and stretch when one of the widget is made visible false

  • September 1, 2021
  • 1 reply
  • 3132 views

I have a container with 3 graphs one below the other with vertical orientation and responsive. attached image for reference and i am using Thingworx 9.1.

When i make the middle graph visible false automatically the graph from the bottom is coming up to the top.

How do i set the configuration in such a way that, if i make the middle one visible false, the top and bottom should auto use the space created by the middle one , since its made to visible false.

 

Thank you.

Best answer by BABA-SHYAM

Ok, then try to create expandable container. when middle one is hidden make the container collapse too. That would help.

1 reply

15-Moonstone
September 2, 2021

Hi,

 

You better device this container in more child container (vertically). Now put these 3 in each of those container. Now if you are making middle one invisible, that space is going to be there and bottom one won't come up.

 

Regards

Shyam

sbt15-MoonstoneAuthor
15-Moonstone
September 2, 2021

Hello,

I do not want to create that void space when the middle one is invisible, i want to utilize the middle space by the top and bottom graph equally. Its like if 3 graphs are present one after the other, 1st and 3rd  should utilize 1/3 of the space  and middle the rest. But if middle is invisible then both 1st and 3rd should utilize the space created by the middle.

 

Thank you for your reply.  

15-Moonstone
September 2, 2021

Ok, then try to create expandable container. when middle one is hidden make the container collapse too. That would help.