This is a migrated thread and some comments may be shown as answers.

Menu still showing arrow icon if all sub menu items hidden

1 Answer 72 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Vinay
Top achievements
Rank 2
Vinay asked on 26 Feb 2014, 11:17 AM
Hi,

I'm using kendo menu to create Menu in my application.
For a particular use case all sub-menu items are hidden (cssClass="hide" applied) for an item, but still parent menu item showing arrow key.
My appication dataSource for kendo menu is complex and have similar use case at deep level.
I don't want to show arrow icon on parent menu if all sub-menu items are hidden.
Please go through plunker (http://plnkr.co/edit/erYkvCkAs4jHyCyFEInt?p=preview) for more details. 

Thanks,
Vinay 

1 Answer, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 27 Feb 2014, 04:15 PM
Hi Vinay, 

This scenario is not supported out-of-the-box by Kendo UI Menu and in order to achieve the expected result you should find the icon using JavaScript and manually hide it. 

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Menu
Asked by
Vinay
Top achievements
Rank 2
Answers by
Iliana Nikolova
Telerik team
Share this question
or