Dynamic Change of Properties

0
Hello All, is it possible to dynamically change properties of object, for example layout based on expression or variable? I need to apply different styles to layout based on constant variable.
asked
2 answers
1

I found solution on how to add <style> tag to page layout – with use of CustomString addon. This is described in topic https://forum.mendix.com/link/questions/101948.

answered
0

My classContainer widget allows you to dynamically determine classes or styles based on your data. Download this mpk file, drop it in your /widgets/ folder, and press F4 in Studio Pro. Then you can add it on your pages, and put content inside of it.

Or use the Dynamic Class widget from the app store: https://appstore.home.mendix.com/link/app/108838/

answered