How do I hide a division/wrapper and adjust the remaining division/wrappers

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I have a response grid with 10 division.  Each division has 1 wrapper.  I use render conditions to decide if a wrapper is visible.  So, if the 5th, 6th, 7th and 8th, wrapper are not visible I would like the wrapper in the 9th position to slide left to the 5th position.  

Here is how it is constructed:
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
If you set your grid size property to "fit to contents" the division will collapse when the wrappers inside it are hidden using conditional rendering. 
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Thank you.  Works great.