09-19-2012 06:47 PM
Hi,
I've been trying to dynamically hide/unhide an ActionItem but the 'visible' property doesnot exist for ActionItem...only 'enable' exists which simply grays out the item.
Has anyone been able to hide/unhide action items?
It's a common UI usage on older BB devices to only display meaninful context menus when you select an item in a list for example:
if currently selected item has an address, show the MAPS menu (action item)
but if no address exists, do not show the MAPS menu (action item) as it is useless
thanks,
09-20-2012 10:46 AM
Hi there,
Have you tried removingthe actionItem conditionally instead?
https://developer.blackberry.com/cascades/referenc
Martin
09-20-2012 10:55 AM
Haven't tested that one! Working on that now
Any hint on how to use this in QML though?
09-20-2012 05:36 PM
removing / adding from QML doesnt work yet
ActionItems and Tabs don't have a property visible - only enable true/false
(and enable false only dimms the icon not the text)
there are Issues reported by me in IssueTracker - please vote
09-20-2012 05:53 PM
thanks! i've up-voted your feature request.
i will stick with enable/disable for the time being until this is resolved.
hope that a rim representative here pushes this feature for the next release!!!