Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
khihdartop
Posts: 16
Registered: ‎08-24-2012
My Device: 9800

Create submenu for a BB application

I want to Create submenu for a BB application. When I click on menu item it shows:

Option1
Option2
Option3

When I click on option 3 it should display :

item3-1
item3
-2
item3
-3

as sub menu items using javascript

Trusted Contributor
NitishSubudhi
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: Create submenu for a BB application

Hii All,
I also searching the code for subMenu, but can't find the solution how to add submenu to menu.

Please help if any one know the solution or code for this problem.

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.
BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

Re: Create submenu for a BB application

Hello,

 

Pretty sure an extension would be needed to create Menu > Sub Menu Items, the API only lets you create a top level menu item currently.

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Contributor
khihdartop
Posts: 16
Registered: ‎08-24-2012
My Device: 9800

Re: Create submenu for a BB application

HI have you a sample to do this with javascript

BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

Re: Create submenu for a BB application

I don't, but we do have some "TEMPLATE" extensions to help get you started available here, https://github.com/blackberry/WebWorks-Community-APIs

 

 

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro