Hi I am planning to use this add on in my application. I have scenario where on select of some value, the left side menu bar should dynamically change. is there way i can achieve this?
Hi Kirana!
That is currently supported, you just need to call the method setMenuItems(items)
with a new list of [MenuItem]
(https://vaadin.com/api/com.flowingcode.addons.applayout/app-layout-addon/1.0.5/com/flowingcode/addons/applayout/menu/MenuItem.html)s to be displayed (from inside a [Command]
(https://vaadin.com/api/com.flowingcode.addons.applayout/app-layout-addon/1.0.5/com/flowingcode/addons/applayout/menu/MenuItem.html#MenuItem-java.lang.String-java.lang.String-com.vaadin.flow.server.Command-) of a given MenuItem) and it will change dynamically.
Please tell us if you have trouble by doing that.
Regards!