PDA

View Full Version : Web desktop - hide item from Start Menu



jhashe
17 Nov 2011, 2:38 AM
Hi,

I've written an application based on the Web Desktop sample.
To manage user rights, I need to hide some options from the Start menu.
I know which items I want to hide (with this kind of syntax: MyDesktop.modules[j].launcher.menu.items[k])

But I don't know how to hide it.
MyDesktop.modules[j].launcher.menu.items[k].hide() doesn't exist
MyDesktop.modules[j].launcher.menu.items[k].hidden= true makes nothing

Thank's for your help !

mitchellsimoens
18 Nov 2011, 1:56 PM
Can you get the element and hide it?