Hide menu item
Hi,
I can disable an item from a menu item, but it is a way to hide completely the option from a menu?
It is any menu component up there with this functionality?
Thanks
Hi,
I can disable an item from a menu item, but it is a way to hide completely the option from a menu?
It is any menu component up there with this functionality?
Thanks
Or you can have one ArrayCollection which you manipulate using the methods in ArrayCollection (addItem, removeItem, etc) to have the correct items for the login type. If your dataProvider is anything that implements ICollectionView, mx:Menu will listen for the collection change events (CollectionEvents) and update the menu accordingly.
Alternatively you can change the dataProvider.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.